// Copyright 2014 The Flutter Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.#import "AppDelegate.h"#import "MainViewController.h"@interfaceAppDelegate()@property(nonatomic,strong,readwrite)FlutterEngine*engine;@end@implementationAppDelegate-(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions{self.window=[[UIWindowalloc]initWithFrame:[[UIScreenmainScreen]bounds]];MainViewController*mainViewController=[[MainViewControlleralloc]init];UINavigationController*navigationController=[[UINavigationControlleralloc]initWithRootViewController:mainViewController];navigationController.navigationBar.translucent=NO;self.engine=[[FlutterEnginealloc]initWithName:@"test"project:nil];[self.enginerunWithEntrypoint:nil];self.window.rootViewController=navigationController;[self.windowmakeKeyAndVisible];returnYES;}@end