Forum Xamarin.iOS

Issue with constraints on view controllers when deployment target is set to iOS9

Has anyone else encountered this issue?

We have a iOS application that has a main controller screen and you can access other screens that use popovers to display content.
We decided on one screen to use stack views and add these via Xcode which was fine.

The problem was as soon as we set the target version to iOS 9 any popover screen seemed to have lost any sizing and constraints we had added through Xcode.

Setting the target version back to say 7.1 and then running the application all the screens resized and constrained correctly.




  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    Are you using UIPopoverController? That class has been deprecated in iOS 9 in favor of UIPopoverPresentationController or UIViewController with a ModalPresentationStyle of UIModalPresentationStyle.Popover.

  • GaryLowe.4681GaryLowe.4681 USMember ✭✭

    Hi David

    We tried your suggestion but still get the same result using UIPopoverController or UIPopoverPresentationController.
    Update the target back to below iOS9 and it's fine.

Sign In or Register to comment.