UIScrollView subviews not showing at first
- by igul222
I created a custom UIScrollView subclass that works a like a UITableView, keeping a collection of subviews and re-using them whenever the user scrolls. It's implemented like this:
-(void)layoutSubviews {
for(UIView *subview in [self subviews])
[subview removeFromSuperview];
// then re-add subviews after changing the frame and some…