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


Still No Background (I have project image links)

Still can not figure out why my background image is not showing but I followed what the instructor was doing completely. Any ideas guys?

Here are some picture links:



2 Answers


So the image shows in the storyboard, but not when you run the app, correct? You checked The that the Image property of the Image View is set to loginBackground and you confirmed that the viewDidLoad method is correctly loading the image named @"loginBackground-568h" based on the bounds height? Is it only the login screen that is not loading, or is the signup screen not loading the image as well?

Add loginBackground-568h@2x.png in your Xcode Project Navigator. You can put it on a separate Images folder. I think it's a case of Xcode not looking at Images.xcassets. Got the idea from Stone Preston here: https://teamtreehouse.com/forum/retina-background-image-not-being-displayed