Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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. =)