automaticallyAdjustsScrollViewInsets not respected inside iMessage extension
| Originator: | coultonvento | ||
| Number: | rdar://28635495 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 10.0.2 |
| Classification: | Reproducible: | Always |
Summary: The `automaticallyAdjustsScrollViewInsets` on `UIViewController` is not respected when: 1. The first subview is a UIScrollView (table view/ collection view/ text view) 2. Contained inside an iMessage app Steps to Reproduce: 1. Embed a scroll view inside an iMessage app 2. Explicitly disable `automaticallyAdjustsScrollViewInsets` on the main messages app view controller 3. Create auto layout constraints that will pin the scroll view to each edge of the view 4. Toggle between compact and expanded 5. Notice that the content inset is manipulated Expected Results: The scroll view contentInset is not manipulated when the top/ bottom layout guide is updated. Actual Results: The contentInset is manipulated when the top/ bottom layout guide is updated. Version: iOS 10.0.2 Notes: Configuration: Any iPhone running iOS 10.0.2
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!