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

Programming Background Image

Just registered yesterday! Thanks for the awesome classes. I just have a quick question.

Why would I want to program my background image when I could easily do the same using storyboard? I feel I am missing a pertinent point.

Christer Nordbø
Christer Nordbø
2,133 Points

I believe the point sometimes is to let you know how to do it trough programming. With creating references e.e - But once your comfortable and know that you can do it trough code. Use the storyboard, if it gives you the desired result :)

1 Answer

Christer Nordbø
Christer Nordbø
2,133 Points

I believe the point sometimes is to let you know how to do it trough programming. With creating references e.e - But once your comfortable and know that you can do it trough code. Use the storyboard, if it gives you the desired result :)

wow, sorry for double posting - apperantly had this up on two different pages, wheres one was a comment and the other an answer - Tought i had forgot to post it. - Not able to edit or delete comment either so sorry =/

I thought the same thing but I wasn't 100% sure. I guess if you do it programmatically you also have the opportunity to manipulate the background through code. You could probably still do the same thing though even if you made it in the storyboard.