maxep / MXParallaxHeader

Simple parallax header for UIScrollView
MIT License
1.73k stars 251 forks source link

NavBar Height top constraint #34

Closed violabg closed 5 years ago

violabg commented 8 years ago

Is there a way to take into account the navbar height when setting the parallaxHeader. What I mean is to have the parallaxHeader top constraint start at the NavBar bottom

maxep commented 8 years ago

Do you mean by embed the MXScrollViewController in a nav controller? Otherwise you can set the top constraint of your scrollview at the bottom of the navbar.

stoosepp commented 8 years ago

I'm having the same issue:( Top constraints on the scrollview and my added tableview (as contentView) are the size of the navbar, making gaps. Setting the navbar to opaque gets rid of the gaps, but moves the MXScrollview all the way to the top and my headerView is now covered up.

Side Question: Is it possible to interact with my headerView? I embedded a VC that has user interaction, but they don't seem to be working:(

Thanks for the help!

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.