- Create an
Single View Application
withXCode6
- Remove
Main.storyboard
andLaunchScreen.xib
(select them, right-click, and choose to either remove them from the project, or delete them completely).- Remove "Main storyboard file base name" and "Launch screen interface file base name" entries in
Info.plist
file. Open AppDelegate.m, and edit application didFinishLaunchingWithOptions so that it looks like this:This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
- (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; }
Ref: http://stackoverflow.com/questions/25783282/how-to-create-an-empty-application-in-xcode-6-without-storyboard