Single View Application 改成空模板的歩揍(xcode6.0.1):

1.删除info.plist 中的Main Storyboard file base name 选项

2.将ViewController的class改成UIViewController,ViewController类可删也可保留

3.删除mainStoryBoard

4.在AppDelegate中添加代码:

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

self.window.backgroundColor = [UIColor whiteColor];

[self.window makeKeyAndVisible];

04-30 08:34