Improve documentation for automaticallyAdjustsScrollViewInsets

Number:rdar://31007890 Date Originated:13-March-2017
Status:Closed Resolved:
Product:Documentation Product Version:
Classification: Reproducible:
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 -


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: We are now closing this report.

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!