Hidden gem of UINavigationBar — scrollEdgeAppearance
Published in
2 min readMay 7, 2023
This week I discovered a property of UINavigationBar
called scrollEdgeAppearance, which is introduced since iOS 13. How it works feels a but counterintuitive to me.
Let’s say, we have this code that sets both standardAppearance
and scrollEdgeAppearance
with 2 different colors.
// Pink
let appearance1 = UINavigationBarAppearance()…