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

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.