Provide public equivalent of [UIViewController _isInPopoverPresentation]

Number:rdar://22048335 Date Originated:29-Jul-2015 11:51 AM
Status:Open Resolved:
Product:Developer Tools Product Version:8.4
Classification:Enhancement Reproducible:Always
Sometimes it’s necessary that a view controller knows if it is in a popover. Apple requires this functionality as well and has a private helper that looks at the nearest presentation controller to determine if it is presented as popover.

There should be a public way to determine just this. The current UIPresentationController API is a great step forward, yet it is hard to determine how a controller is *actually* presented on screen, after potential applied adaptivity.

For a full discussion, please read my blog post about it:


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!