UIPopoverController automatically resizing to max height on pushViewController

后端 未结 13 679
感情败类
感情败类 2020-12-07 10:45

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

13条回答
  •  无人及你
    2020-12-07 11:38

    In the -(void)viewDidLoad of all the view controllers you are using in navigation write the code:

    self setContentSizeForViewInPopover:CGSizeMake(320, 500)];
    

提交回复
热议问题