Bogidon / BVViewList

Dynamically add and remove views on a custom subclass of UIScrollView.
MIT License
6 stars 1 forks source link

Inserting multiple views breaks scrolling #9

Closed Bogidon closed 10 years ago

Bogidon commented 10 years ago

When inserting multiple views to a vertical layout, the last view in the list ends up below the UIScrollView's content area.  

jai commented 10 years ago

@Bogidon can I have the code you're using to insert it? I've tried the code in this gist and it doesn't go outside the content area.

UPDATE: Never mind, found it - seems to affect 3.5" screens. Working on it along with the other issues.

jai commented 10 years ago

@Bogidon was this in the Example project or in a separate one? In the example project this was broken because I hadn't set autolayout constraints on the View List. I've set it now and seems to be fine on 3.5" screens - can you try this commit and let me know if you're still seeing the issue? Thanks!

Bogidon commented 10 years ago

Awesome, issue is fixed!