Provide public equivalent of [UIViewController _isInPopoverPresentation]
||Date Originated:||29-Jul-2015 11:51 AM|
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:
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com 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!