首页 > 代码库 > 去除Xcode6创建工程时自带的storyboard

去除Xcode6创建工程时自带的storyboard

去除Xcode6创建工程时自带的storyboard

 1. 删除storyboard文件,并在setting里面清空加载storyboard:

 

2. 导入ViewController到appDelegate文件中

此处复制粘贴的代码如下:

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

    // Override point for customization after application launch.

    self.window.backgroundColor = [UIColor whiteColor];

    [self.window makeKeyAndVisible];

    return YES;

 

 

3. 验证一下效果(电脑有点慢额):

就是这么简单哦:)

去除Xcode6创建工程时自带的storyboard