Presentation controller container view is not an ancestor of the presenting view controller’s view

Originator:steipete
Number:rdar://22398412 Date Originated:24-Aug-2015 11:03 AM
Status:Open Resolved:
Product:iOS SDK Product Version:8.4.1
Classification:Other Bug Reproducible:Always
 
Summary:
A UIPresentationController’s `containerView` is documented to be ‘ancestor of both the presenting and presented view controller's views’. This is not the case, and therefore non-modal presentation are challenging (where the user can still interact with the presenting view).

Steps to Reproduce:
1. Open the attached sample project
2. Run it
3. Tap to present a view controller

Expected Results:
The documentation to be consistent with what happens. Either for the container view to be an ancestor of the presenting view (somehow) or for the documentation to state this is not the case.

Actual Results:
The container view is not an ancestor of the presenting view controller’s view, only the presented view controller’s view.

This is a duplicate of rdar://22394135 (PSPDFKit co-worker)

Comments


Please note: 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!