Reputation: 27
Part of the App I am developing will have an image viewer section. Below is a screenshot of how the view is laid out.
I want the bottom to be horizontally scrollable throughout the images. I am not 100% how I would go about this and would really appreciate any advise/tutorials/answers. I know I will need to store my images in an array (which I will populate from my CoreData instance) and populate them into the mini image views but I don't know how I can 're-use' the image views as I scroll through, to save on memory. I have had a look at the WWDC video for 'Designing Apps with Scroll Views' but this isn't exactly what I am trying to achieve, as I have multiple image views on the view at once.
Any help would be very much appreciated, I am quite new to iOS Development just so you know. Thanks guys!
Upvotes: 0
Views: 129
Reputation: 500
Have a look at UICollectionView as it's pretty much designed for what you're trying to achieve.
Upvotes: 1