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!

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


Build a Simple iPhone App > Code Challenge: Programming a Background Image

I am having a nightmare of a time trying to code for the final part of one of the challenges. It is asking me too "Add the UIImageView as a subview to the instance of UIView named 'catView'." I have tried referring back to previous coding and using documentation to help but I only end up receiving the same message. It keeps saying remember that I am trying to add a subview and not insert one. Maybe a bit more detailed help might be handy in that situation. Maybe I do not quite understand the things that I need to know but I have watched and rewatched the video but he only covers inserting a subview and not adding one. Someone please help!!


2 Answers

Amit Bijlani
Amit Bijlani
Treehouse Guest Teacher

@frankie at 5:00 minute mark in the video you can see how to add a subview.