iOS开发之如何在Xcode6中新建一个空白工程(Empty Application)

1、打开Xcode6,创建一个Single View Application
2、删除Main.storyboard 和 LaunchScreen.xib
3、打开Info.plist,删除Main storyboard file base name 和 Launch screen interface file base name
4、打开AppDelegate.m,修改 applicationDidFinishLaunchingWithOptions
至如下内容:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 
        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; 
}

你可能感兴趣的:(iOS开发之如何在Xcode6中新建一个空白工程(Empty Application))