Question

For some reason my 4inch launch image isn't chosen when I reference it programmatically from an asset catalog? It uses the default launch image for the 3.5. Any clue?

UIColor *image = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"LaunchImage"]];
self.view.backgroundColor = image;
Was it helpful?

Solution

Instead of using the launch image asset catalog, I created another with the same images and used that as the background image reference.

UIColor *image = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"Background"]];
self.view.backgroundColor = image;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top