andreamazz / AMScrollingNavbar

Scrollable UINavigationBar that follows the scrolling of a UIScrollView
MIT License
6.05k stars 634 forks source link

Title goes beyond navigationbar on scrollEdge/compact appearance on IOS 13+ #398

Closed mark-dlc closed 3 years ago

mark-dlc commented 3 years ago

When using AMScrollingNavbar to add a collapseable navigationbar to your app, this works as expected only on IOS 12 and lower. When using IOS 13 (in combination with Large Titles) this behaviour is no longer as expected, since all navigation bar items but the title fade away. Most likely, it is due to the new APIs introduced in IOS 13 to style the navigationbar (which introduces 3 navigationbar appearances: scrollEdge/compact/normal) while the library uses the old APIs, which only modifies the defaultAppearance.

I am working on a fix and will make a pull request for this.

Screenshots 30685814-747133e4-9eb6-11e7-8b86-0cc96db3af07