andreamazz / AMScrollingNavbar

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

Support WKWebView which is anchored to the top of the safe area (not underneath the navbar) #345

Closed aehlke closed 5 years ago

aehlke commented 5 years ago

Is your feature request related to a problem? Please describe. I have a WKWebView which is anchored to safeAreaLayoutGuide's top anchor, so that it's immediately below the navbar (and not under it/overlapped by it). I need this due to arcane issues with WKWebView. This creates a blank white space when collapsing the navbar.

Describe the solution you'd like I'd like the WKWebView to extend upwards as the navbar collapses during scrolling. This can be achieved via followers, but then the scroll speed is multiplied as the navbar collapses. I can't find a good solution for this.

Describe alternatives you've considered See above.

aehlke commented 5 years ago

I figured out how to get the WKWebView back under the navbar, so this isn't relevant to me anymore.