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 trialJeremy Frimond
14,470 PointsBackground Image Not Displaying on Main.Storyboard
Amit Bijlani and fellow tree housers the background image is loaded into my project and works fine when I run the app however the background image does not show up on the Main.storyboard. Any idea what is going on here?
EDIT: I also see your background does not display in your project as well. I feel this can hinder the overall design development of the app. Is there a way to toggle the background image in (when the image is coded in as opposed to using the object library?
Finally, is there a best practice for coding in a background image vs using the drag and drop image object?
Cheers
1 Answer
Amit Bijlani
Treehouse Guest TeacherAs explained in the course you can display an image using the Storyboard or you can do it in your code. It's your personal preference how you want to do it. There is no right or wrong just what works best with the kind of app you are building. We have a good discussion in another forum post titled Storyboards vs Code.
I'm not sure what issue you are having. Are you saying you've added an image view to your storyboard and it is not displaying?