Large navigation titles + opaque bars = glitchy content insets

Originator:alek.astrom
Number:rdar://43231676 Date Originated:August 13 2018
Status:Open Resolved:
Product:iOS + SDK Product Version:11.4
Classification:UX Bug Reproducible:Always
 
Summary:
When using large navigation titles together with opaque bars, scrolling & content insets are jumpy and scrolling to top ends up with a huge navigation bar.

Problem becomes even more apparent with a search controller attached.

Steps to Reproduce:
1. Create a UITableViewController with enough cells to scroll
2. Create a UINavigationController, set its navigation bar to prefer large titles and set translucency to false.
3. Scroll up, scroll down, tap on the status bar to scroll to top. 

Expected Results:
Smooth content inset & offset behavior as with translucent bars.

Actual Results:
Glitchy content insets & offsets, especially when tapping scroll to top.

Version/Build:
iOS 11.4

Configuration:
Tested on iPhone X and iPhone X simulator.

Comments

Can be worked around by setting extendedLayoutIncludesOpaqueBars to true on the content view controller.

By alek.astrom at Aug. 13, 2018, 2:27 p.m. (reply...)

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!