I have added a third collection view to my UIScrollView, which seems to be generating some noticeable scroll lag.
The view hierarchy is as follows (as I cant upload an image yet):
UIView
-->UIScrollView (large content size 230, 1100)
---->UIView for content
------>UIImageView (background image)
------>UIScrollView
------>UIView
------>PageControl
------>UICollectionView
------>UICollectionView
------>UICollectionView
------>Six labels
The actual UICollectionView's scroll really nicely horizontally, it's just the main UIScrollView has slight lag when scrolling up and down.
There was no lag at all before adding the third UICollectionView, which uses a different class for it's cells.
It seems there is only lag when all three collection views are on screen at one time.
The only delegate method implemented is scrollViewDidScroll, and simply resizes one of the subviews so I don't think this is affecting it at all.
It it simply because it can't cope with three UICollectionView's on screen at one time? I would have thought it could cope easy. Are there any obvious optimisations I can do?