quemb / QMBParallaxScrollViewController

Add a parallax top view to any UIScrollView (incl. UITableViews) - #Parallax #ScrollView #TableView #Header
http://quemb.github.io/QMBParallaxScrollViewController
MIT License
873 stars 121 forks source link

Fix bug when coming back from fullscreen #10

Closed RomainBoulay closed 10 years ago

RomainBoulay commented 10 years ago

I set a custom maxHeightBorder and it worked fine. But after the top view was displayed in fullscreen, this value was overridden and never got back.

To fix this issue, I added self.initialMaxHeightBorder and initialMinHeightBorder to QMBParallaxScrollViewController, in order be sure the behaviour is kept even after a change of state.

tonimoeckel commented 10 years ago

Thanks. I merged it!