标签:
1
|
return UIApplicationMain(argc, argv, nil , NSStringFromClass ([AppDelegate class ])) |
1
2
3
|
( BOOL )application:(UIApplication *)application didFinishLaunchingWithOptions:( NSDictionary *)launchOptions { NSLog (“window is %@”, self .window) } |
1
2
|
3 UIKit 0x0000000101170059 -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 40 4 UIKit 0x000000010116f0cb -[UIApplication _runWithMainScene:transitionContext:completion:] + 1074 |
1
2
3
4
5
6
7
8
|
- ( BOOL )application:(UIApplication *)application didFinishLaunchingWithOptions:( NSDictionary *)launchOptions { // Override point for customization after application launch. self .window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; //全屏window self .window.backgroundColor = [UIColor whiteColor]; //白色背景 [ self .window makeKeyAndVisible]; // return YES ; } |
标签:
原文地址:http://www.cnblogs.com/wangbaixue/p/5213947.html