//Add below code in AppDelegate.h
@property (retain, nonatomic) UIWindow *window;
@property (nonatomic,retain) UINavigationController *navigationController;
Step 2)
Create New file ViewController subclass of UIViewController with Xib
Step 3)
//Add below code in AppDelegate.m
self.window=[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
ViewController *viewController=[[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];
self.navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
self.window.rootViewController = self.navigationController;
[self.window makeKeyAndVisible];
return YES;
Step 4)
Delete "Main storyboard file base name" line from info.plist file
Step 5)
Run Project
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
iPad,iPhone,iPhone Resources,iPhone Articles,iPhone Development,iPhone Game Development,iPhone Turorial,Storyboard Tutorials,Mobile Developments,Objective C
No comments:
Post a Comment