Files
yinmeng-ios/xplan-ios/Appdelegate/AppDelegate.m

33 lines
867 B
Mathematica
Raw Normal View History

2021-09-06 18:47:38 +08:00
//
// AppDelegate.m
// xplan-ios
//
// Created by zu on 2021/8/31.
//
#import "AppDelegate.h"
#import "TabbarViewController.h"
2021-09-07 23:05:43 +08:00
#import "BaseNavigationController.h"
2021-09-09 17:50:03 +08:00
#import "FlutterBoost+Xplan.h"
2021-09-13 18:56:16 +08:00
#import "AppDelegate+ThirdConfig.h"
2021-09-06 18:47:38 +08:00
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
2021-09-09 17:50:03 +08:00
[[FlutterBoost instance] setup:application];
2021-09-06 18:47:38 +08:00
TabbarViewController *vc = [[TabbarViewController alloc] init];
2021-09-07 23:05:43 +08:00
BaseNavigationController *bnc = [[BaseNavigationController alloc] initWithRootViewController:vc];
2021-09-06 18:47:38 +08:00
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
2021-09-07 23:05:43 +08:00
self.window.rootViewController = bnc;
2021-09-06 18:47:38 +08:00
[self.window makeKeyAndVisible];
2021-09-13 18:56:16 +08:00
/// sdk
[self initThirdConfig];
2021-09-06 18:47:38 +08:00
return YES;
}
@end