Improve documentation for automaticallyAdjustsScrollViewInsets
Originator: | keith | ||
Number: | rdar://31007890 | Date Originated: | 13-March-2017 |
Status: | Closed | Resolved: | |
Product: | Documentation | Product Version: | |
Classification: | Reproducible: |
Summary: The documentation for the automaticallyAdjustsScrollViewInsets property of UIViewController does not describe how it finds the scroll view that it manages. Experimentation suggests that the scroll view must be a subview of view.subviews[0] or it is not managed automatically. Placing a scroll view at any other position in the subview index prevents the container view controller from adjusting the content offset. This behavior is not documented which can lead to some surprises when working with scroll views embedded in container views. automaticallyAdjustsScrollViewInsets - https://developer.apple.com/reference/uikit/uiviewcontroller/1621372-automaticallyadjustsscrollviewin
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!
Response from Apple Developer Relations - Nov 30, 2017
There are no plans to address this based on the following: Please see the documentation on safe areas, such as: https://developer.apple.com/documentation/uikit/uiview/positioning_content_relative_to_the_safe_area We are now closing this report.