UINavigationBar backgroundImage disappears with large titles

Originator:samuel.gallet
Number:rdar://34591227 Date Originated:22/08/17
Status:Open Resolved:No
Product:iOS SDK (UIKit) Product Version:iOS 11.0 (15A372)
Classification:Bug Reproducible:100%
 
Summary:
UINavigationBar backgroundImage disappears large titles

Steps to Reproduce:
Create a UINavigationController and set a colored backgroundImage to its UINavigationBar
Set prefersLargeTitles property to true to its UINavigationBar
Create a UIViewController with a UIScrollView as its root view and add it to the UINavigationController
Scroll the UIScrollView

Expected Results:
While scrolling, when large title is displayed, the UINavigationBar should keep its backgroundImage


Actual Results:
While scrolling, when large title is displayed, the UINavigationBar becomes transparent

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!