Simplify iOS template project

This commit is contained in:
Collin Jackson
2016-07-12 18:34:01 -07:00
parent 8891acc18a
commit f82b62096d

View File

@@ -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;
}