I have a popover containing a UINavigationController. I can display the popover fine, and it contains the navController just fine. The navController contains a tableView a
For iOS 7 use the following:
- (void)viewDidLoad { [super viewDidLoad]; CGSize size = CGSizeMake(320, 768); // size of view in popover self.preferredContentSize = size; }
UIViewController.contentSizeForViewInPopover has been deprecated first in iOS 7.
UIViewController.contentSizeForViewInPopover