Use new project template (#10378)
diff --git a/dev/integration_tests/ui/ios/Runner/AppDelegate.m b/dev/integration_tests/ui/ios/Runner/AppDelegate.m
index 32e6760..dfa4361 100644
--- a/dev/integration_tests/ui/ios/Runner/AppDelegate.m
+++ b/dev/integration_tests/ui/ios/Runner/AppDelegate.m
@@ -3,17 +3,13 @@
// found in the LICENSE file.
#include "AppDelegate.h"
-#include "PluginRegistry.h"
+#include "GeneratedPluginRegistrant.h"
-@implementation AppDelegate {
- PluginRegistry *plugins;
-}
+@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- FlutterViewController *flutterController =
- (FlutterViewController *)self.window.rootViewController;
- plugins = [[PluginRegistry alloc] initWithController:flutterController];
- return YES;
+ [GeneratedPluginRegistrant registerWithRegistry:self];
+ return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
@end