rootview controller in Interface builder?
Posted
by senthilmuthu
on Stack Overflow
See other posts from Stack Overflow
or by senthilmuthu
Published on 2009-10-29T08:53:46Z
Indexed on
2010/05/11
15:04 UTC
Read the original article
Hit count: 130
iphone
|iphone-sdk
hi, i have done in didapplicationfinishing function
tabBarController = [[UITabBarController alloc] init] ;
tabBarController.navigationItem.title = @"News";
SimpleTableViewController *rtbfViewController = [[SimpleTableViewController alloc]
init];
//initWithStyle:UITableViewStyleGrouped];
rtbfViewController.tabBarItem.title = @"News1";
rtbfViewController.tabBarItem.image = [UIImage imageNamed:@"home.png"];;
UINavigationController *table2NavController = [[[UINavigationController alloc] initWithRootViewController:rtbfViewController] autorelease];
[rtbfViewController release];
it works fine .suppose if i have Navigation controller in Interface Builder,how can i set initWithRootViewController in Interface builder?
© Stack Overflow or respective owner