Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

How to do Instagram-like multiple images on a page

How can would I let user see multiple images on one page like instagram has it on their profile page?

1 Answer

Misha Shaposhnikov
Misha Shaposhnikov
8,718 Points

For this you need a UICollectionView instead of just a UIView with a UIImageView. This is actually covered later in the Build a Photo Browser iPhone App. The very first achievement of that course is all about Collection Views. You can just skip ahead to that specific lesson, learn all you need to know, and then implement it back in the Self-Destructing Messages App or you can finish the project as is and come back to it later once you have a more solid foundation in working with Collection Views. Your choice. =)