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 trialDerek Medlin
6,151 PointsInaccurate quiz question
"If we provide appropriately sized images in an Asset Catalog, will iOS automatically swap the 3.5 inch and 4 inch versions of an image based on the device the app is running on?"
It's not that big of a deal but the reason why the launch images didn't automatically switch was because (initially) he had his 4" image unassigned. A way to test this would be to put an entirely new image as the 4" version and just switch simulators between 3.5 and 4 and you'll see them change automatically. Thanks just pointing that out.
EDIT: Also it's worth noting that in the video Ben used the actual file name of the image when actually with assets you just use the asset name, ie [UIImage imageNamed: @"BackgroundImage"]; instead of [UIImage imageNamed:@"somePic@2x"];