Quote:
Originally Posted by Domele
|
Thanks Domele for your responses and patience.
I tried out the link you gave me and and being a newbie to IOS I had a hard time figuring it out.
I created a new SplitViewController project using xcode. Then, in RootViewController.h I added
Code:
@property (nonatomic, retain) UINavigationController *detailNav;
And in RootViewController.m I added
Code:
@synthesize detailNav;
- (void)viewDidLoad
{
if (detailNav == nil) {
detailNav = [[UINavigationController alloc] initWithRootViewController:detailViewController];
}
ServerListTableViewController *sl = [[ServerListTableViewController alloc] initWithStyle:UITableViewStyleGrouped];
// this does not work for me; my table is not displayed in detailview
[detailNav pushViewController:sl animated:YES];
// this displays the table in the rootViewControler - just to check -
[self.navigationController pushViewController:sl animated:YES];
}
I'm unable to figure out what my table is not being displayed in detailView.
thanks so much for your help
Dhoti