ole / OLEContainerScrollView

A UIScrollView subclass that intelligently handles multiple child scroll views and does not interfere with UIKitʼs cell reuse functionality.
http://oleb.net/blog/2014/05/scrollviews-inside-scrollviews/
MIT License
587 stars 67 forks source link

Take into account contentInset when setting the contentSize for the scrollView #3

Closed z3bi closed 10 years ago

z3bi commented 10 years ago

In iOS 7 contentInset is automatically added to scrollviews to handle the new navigation bar behavior.

ole commented 10 years ago

Thanks, good catch. I had to understand first that this only applies to views whose contentSize is shorter than their bounds.