UIPopover content changes to random orientation when modal view is visible and iPad is rotated

I have UITableViewin the navigation controller shown inside a popover. When you click the panel button inside the popover (in the detail view), it shows a modal view. If you rotate the iPad with a visible popover and a modas view on top of it, the contents of the popover change to a seemingly random orientation, as shown below.

Any idea what is going on here?

alt text

UPDATE: , , . , NSNotification - (void)mailComposeController:(MFMailComposeViewController *)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError *)error popover. "", , , . .

, popover , . , .

+3
2

popover . , , iOS 3.2.

+2

popover, ? UIPopoverController , popover . , , , popover, popover .

0

Source: https://habr.com/ru/post/1768139/


All Articles