iOS 11: Pushing/Popping scrollView on navController with opaque navBar visibly adjusts content during transition
Originator: | rk | ||
Number: | rdar://34465226 | Date Originated: | 2017-09-15 |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | iOS 11 |
Classification: | Bug | Reproducible: | Always |
Area: UIKit Summary: When pushing a view controller that contains a scroll or tableView onto a navigation controller with an opaque navBar, the content of the scroll or tableView is visibly adjusted during the transition. It starts out about 20 points too low, and moves up 20 points during the transition. The final position of the content is correct. If the navBar is translucent, the behavior doesn't occur. If UIScrollView.contentInsetAdjustmentBehavior is set to .never, the behavior doesn't occur. I verified this in the simulator as well as a physical device. Steps to Reproduce: See attached projects and videos. Expected Results: Content should not move inside scroll or tableView during transition. Actual Results: Content moves up about 20 points during transition, and ends up in the correct place. Version/Build: Xcode 9 GM, iOS 11 Simulator, iOS 11 GM
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!
I can reproduce the bug for iOS 11.1 but it seems that the bug is fixed since iOS 11.2.