" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi
n iOS 5.0 there is no Wwindow.Xib file. Here we create the navigation controller with help of code without window.xib file.
In AppDelegate.m file. We override the method
- (BOOL) application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
HomeViewController* viewC = [[HomeViewController alloc] initWithNibName:@"HomeViewController" bundle:nil];
UINavigationController* navC = [[UINavigationController alloc] initWithRootViewController:viewC];
self.window.rootViewController = navC;
Mail (will not be published) (required)
Enter Captcha Code *
1 × three =
Burn Ignorance is a knowledge initiative by Mindfire Solutions
Subscribe to our mailing list to get the updates to your email inbox...