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
Don't work for me, when i use this:
[UIPopoverController
[UINavigationController] = root vc = [UIViewController vc1] => [UIViewController vc2]
]
When appear popover is all good, press button on vc1 and push vc2 to navigation controller
Next return to vc1 (root) pressing button in vc2 (popToRootViewController method);
We can see that popover change own size, but vc1 size is old... WHAT IS THIS???
Ok, now work... Add popover property in my controller
self.contentSizeForViewInPopover = (CGSize){400, 200};
self.navigationController.contentSizeForViewInPopover = self.contentSizeForViewInPopover;
self.popover.popoverContentSize = self.contentSizeForViewInPopover;