22 lines
805 B
Objective-C
22 lines
805 B
Objective-C
#import "AppDelegate.h"
|
|
#import "GeneratedPluginRegistrant.h"
|
|
#import "SharePasswordViewController.h"
|
|
#import "CommonDefine.h"
|
|
|
|
@implementation AppDelegate
|
|
|
|
- (BOOL)application:(UIApplication *)application
|
|
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
/** 设置主控制器继承FlutterViewController*/
|
|
SharePasswordViewController * VC = [[SharePasswordViewController alloc]init];
|
|
UINavigationController * NVC = [[UINavigationController alloc]initWithRootViewController:VC];
|
|
[self.window setRootViewController:NVC];
|
|
/** flutter插件通道代理*/
|
|
[GeneratedPluginRegistrant registerWithRegistry:self];
|
|
|
|
// Override point for customization after application launch.
|
|
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
|
}
|
|
|
|
@end
|