1. 刪除main.storyboard和launchScreen.storyboard攻谁,右鍵delete-Move to Trash
2. 選中工程 - General - Deployment Info - Main Interface 設(shè)為空
App Icons and Launch Images - Launch Screen File 設(shè)為空
3. 刪除SceneDelegate.h和SceneDelegate.m文件
4. 在AppDelegate.h 和AppDelegate.m文件中添加如下代碼:
<pre>
//.h文件
@property (strong, nonatomic) UIWindow * window;
//.m文件插入到- (BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions 這個(gè)方法中
self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
self.window.backgroundColor = [UIColor whiteColor];
self.window.rootViewController= tabbarController;
[self.window makeKeyAndVisible];
<pre>