2023-10-14 17:08:25 +08:00

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