标签:white visible ble ica tom scree app uiwindow nis
// 声明窗口视图
@property (strong, nonatomic) UIWindow *window;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// 实例化窗口视图,window 的大小和当前手机屏幕一样大
self.window = [[UIWindow alloc] initWithFrame: [UIScreen mainScreen].bounds];
// 设置 window 的背景颜色
self.window.backgroundColor = [UIColor whiteColor];
// 将窗口显示到屏幕上
[self.window makeKeyAndVisible];
return YES;
}
标签:white visible ble ica tom scree app uiwindow nis
原文地址:https://www.cnblogs.com/CH520/p/9398596.html