33 lines
867 B
Objective-C
33 lines
867 B
Objective-C
//
|
|
// AppDelegate.m
|
|
// xplan-ios
|
|
//
|
|
// Created by zu on 2021/8/31.
|
|
//
|
|
|
|
#import "AppDelegate.h"
|
|
#import "TabbarViewController.h"
|
|
#import "BaseNavigationController.h"
|
|
#import "FlutterBoost+Xplan.h"
|
|
#import "AppDelegate+ThirdConfig.h"
|
|
|
|
@interface AppDelegate ()
|
|
|
|
@end
|
|
|
|
@implementation AppDelegate
|
|
|
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
[[FlutterBoost instance] setup:application];
|
|
TabbarViewController *vc = [[TabbarViewController alloc] init];
|
|
BaseNavigationController *bnc = [[BaseNavigationController alloc] initWithRootViewController:vc];
|
|
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
|
self.window.rootViewController = bnc;
|
|
[self.window makeKeyAndVisible];
|
|
///初始化一些 sdk配置
|
|
[self initThirdConfig];
|
|
return YES;
|
|
}
|
|
|
|
@end
|