diff --git a/packages/flutter_tools/templates/create/ios.tmpl/Runner/AppDelegate.m b/packages/flutter_tools/templates/create/ios.tmpl/Runner/AppDelegate.m index ef626e114c5..d4cfa3ad4b5 100644 --- a/packages/flutter_tools/templates/create/ios.tmpl/Runner/AppDelegate.m +++ b/packages/flutter_tools/templates/create/ios.tmpl/Runner/AppDelegate.m @@ -5,16 +5,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. - FlutterDartProject* project = [[FlutterDartProject alloc] initFromDefaultSourceForConfiguration]; - CGRect frame = [UIScreen mainScreen].bounds; - UIWindow* window = [[UIWindow alloc] initWithFrame:frame]; - FlutterViewController* viewController = [[FlutterViewController alloc] initWithProject:project - nibName:nil - bundle:nil]; - window.rootViewController = viewController; - self.window = window; - [self.window makeKeyAndVisible]; - return YES; }