Reputation: 24688
I'm trying out the new funky Launch Screen.xib (storyboard) instead of using launcher images in my iOS app.
On my first page I have a tiled background image called [email protected] which I put on the background of that first page via code:
self.view.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed:@"bodybg.png"]];
So I could do with having the same background on the Launch Screen. Presumably there's no way to execute code when the Launch Screen.xib is loaded, so how do I go about putting a tiled, retina background on a Launch Screen.xib?
Upvotes: 17
Views: 2109
Reputation: 17005
Scale to Fill
and the image will be tiled to fill the image view.Upvotes: 22