Commit 4c5ea2b7 authored by lmj_521aiau@163.com's avatar lmj_521aiau@163.com

no message

parent e3d8716d
......@@ -47,16 +47,20 @@
[self logCollection];
self.window = [[UIWindow alloc] init];
self.window.frame = [UIScreen mainScreen].bounds;
self.window.backgroundColor = [UIColor whiteColor];
self.window.rootViewController = [UIViewController new];
// self.window.rootViewController = [[GuideViewController alloc] init];
//guide setting
[ZJGuideConfig configWithWindow:self.window finishMainVC:[BaseTabBarViewController new]];
[self.window makeKeyAndVisible];
// @available(iOS 13.0,*)表示iOS 13.0及以上的系统,后面的*表示所有平台
if (@available(iOS 13.0,*)) {
}else{
self.window = [[UIWindow alloc] init];
self.window.frame = [UIScreen mainScreen].bounds;
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
self.window.rootViewController = [[BaseViewController alloc] init];
// guide setting
[ZJGuideConfig configWithWindow:self.window finishMainVC:[BaseTabBarViewController new]];
}
return YES;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment