1.項(xiàng)目基本配置
1.1 設(shè)置圖標(biāo)
1.2設(shè)置啟動(dòng)圖片
1.3設(shè)置項(xiàng)目名稱
1.4啟動(dòng)控制器
在AppDelegate.m中設(shè)置啟動(dòng)控制器:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
//創(chuàng)建窗口
self.window = [[UIWindow alloc] init];
self.window.frame = [UIScreen mainScreen].bounds;
//設(shè)置窗口的根控制器
self.window.rootViewController = [[ViewController alloc] init];
//顯示窗口
[self.window makeKeyAndVisible];
return YES;
}