I have an existing UITableViewController that was previously being used in a UINavigationController.
I need to convert it to be presented as a modal view. However, I
Did you change the connection in the XIB for the File's Owner view? It should point to your outer view which contains both the navbar and tableview.
But I'm not sure I understand why you don't want to use a navigation controller. Just do this:
MyViewController *viewController = [[[MyViewController alloc] init] autorelease];
UINavigationController *navController = [[[UINavigationController alloc] initWithRootViewController:viewController] autorelease];
[self presentModalViewController:navController animated:YES];
I do this all the time when presenting a modal view - it seems cleaner than including a navbar directly in the view.