Xcode 6 下新建empty application

     1.新建single view application

     2.Info.plist,删除里面的

     

     Main storyboard file base name

     Launch screen interface file base name

     

     3. 删除Main.storyboard以及LaunchScreen.xib

     

     4.TARGETS --> General

     

     Lanuch Images Source 点击Use Asset Catalog

     

     点击 migrate(迁移)

     

     5.

     

     didFinishLaunchingWithOptions

     加入以前的代码

     

     self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

     self.window.backgroundColor = [UIColor whiteColor];

     [self.window makeKeyAndVisible];

你可能感兴趣的:(Xcode 6 下新建empty application)