3 Replies
      Latest reply on Sep 18, 2019 6:14 AM by hacknicity
      klimchuk Level 1 Level 1 (0 points)

        Starting with iOS 13 I'm having issue with popover used as main menu.

         

            MainMenuViewController *vc = [[MainMenuViewController alloc] initWithNibName:@"MainMenuViewController" bundle:nil];
            vc.recentConnections = _recentConnections;
            vc.preferredContentSize = CGSizeMake(300, 372);
            vc.modalPresentationStyle = UIModalPresentationPopover;
            
            vc.popoverPresentationController.barButtonItem = self.navigationItem.leftBarButtonItem;
            vc.popoverPresentationController.delegate = self;
            
            [self presentViewController:vc animated:YES completion:nil];
            
        

        Before iOS13

        http://www.realadsb.com/img/before13.png

         

        iOS13

        http://www.realadsb.com/img/starting13.png

         

        As you can see window inside popover goes underneath arrow and that was not the case before