В iOS 13 меню представления Popover не отображается в видимом окне UIWindow, хотя оно присутствует в иерархии представлений окна KeyWindow, как можно увидеть здесь
![enter image description here](https://i.stack.imgur.com/urKJL.png)
Вот как я представляю всплывающее меню:
WEPopoverController *popover = [[WEPopoverController alloc] initWithContentViewController:menuVc];
self.popoverController = popover;
if ([popover respondsToSelector:@selector(setContainerViewProperties:)]) {
[popover setContainerViewProperties:[CPGlobals popoverStyling]];
}
popover.delegate = self;
//self.popoverController.passthroughViews =
//[NSArray arrayWithObject:self.navigationController.navigationBar];
menuVc.containerPopover = popover;
[self.popoverController presentPopoverFromBarButtonItem:self.navigationItem.rightBarButtonItems[0]
permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
Ожидаемое:
![enter image description here](https://i.stack.imgur.com/ivXId.jpg)
Фактически:
![enter image description here](https://i.stack.imgur.com/C5rey.png)