UIScrollView scrolls up with UINavigationController

Originator:samuel.gallet
Number:rdar://34591174 Date Originated:22/08/27
Status:Open Resolved:No
Product:iOS SDK (UIKit) Product Version:iOS 11.0 (15A372)
Classification:Bug Reproducible:100%
 
Summary:
UIScrollView scrolls up while pushing or poping UIViewController in a UINavigationController containing UINavigationBar with backgroundImage

Steps to Reproduce:
Create UINavigationController and set a colored backgroundImage to its navigationBar.
Create a UIViewController with a UIScrollView as its root view.
Add the UIViewController to the UINavigationController.
Push some UIViewController and pop it animated.

Expected Results:
The UIScrollView should not scroll during the animation

Actual Results:
The UIScrollView scrolls up during the animation

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!