Dismissing iPad UIPopoverController when BarButtonItem is pushed while it's open

后端 未结 7 1179
闹比i
闹比i 2020-12-14 11:36

Using a split view on the iPad, I have the following code:

- (void) splitViewController:(UISplitViewController *)svc willHideViewController:(UIViewController         


        
相关标签:
7条回答
  • 2020-12-14 12:30

    Yes, you can set the modalPresentationStyle as following:

    controller.modalPresentationStyle = UIModalPresentationFormSheet;
    
    0 讨论(0)
提交回复
热议问题