UIAlertController Unable to satisfy constraints
I also encounter a similar problem in present a UIAlertController
of style ActionSheet.
One more possible reason of this is setting the permittedArrowDirections
of UIPopoverPresentationController
wrongly. In my case, the sourceView of the popover is located at the top, but I have set the permittedArrowDirections
to UIPopoverArrowDirectionDown
which causes "Unable to simultaneously satisfy constraints" error. The error is gone after I set it to UIPopoverArrowDirectionUp
.