UIPopoverController does not dismiss when clicking on the NavigationBar

后端 未结 6 1946
耶瑟儿~
耶瑟儿~ 2020-12-11 15:10

When clicking on a rightBarButton, a UIPopoverController will present.

The problem is: when clicking on the NavigationBar, this UIPopoverController does not dismiss

6条回答
  •  忘掉有多难
    2020-12-11 15:30

    You put this cod on any other action or After completing the selection or provide some close button in the popover and accomplish uy yhing,

    [popOverControllerObj dismissPopoverAnimated:YES];
    

提交回复
热议问题