Lines Matching refs:image
90 /* Load a launch image using the old UILaunchImageFile-era naming rules. */
96 UIImage *image = nil;
99 /* The image name for the iPhone 5 uses its height as a suffix. */
100 image = [UIImage imageNamed:[NSString stringWithFormat:@"%@-568h", name]];
105 image = [UIImage imageNamed:[NSString stringWithFormat:@"%@-LandscapeLeft", name]];
107 image = [UIImage imageNamed:[NSString stringWithFormat:@"%@-LandscapeRight", name]];
109 if (!image) {
110 image = [UIImage imageNamed:[NSString stringWithFormat:@"%@-Landscape", name]];
114 … image = [UIImage imageNamed:[NSString stringWithFormat:@"%@-PortraitUpsideDown", name]];
116 if (!image) {
117 image = [UIImage imageNamed:[NSString stringWithFormat:@"%@-Portrait", name]];
122 if (!image) {
123 image = [UIImage imageNamed:name];
126 return image;
162 * displays a blank screen rather than falling back to an image. */
170 UIImage *image = nil;
192 /* Ignore this image if the current version is too low. */
197 /* Ignore this image if the size doesn't match. */
221 /* Ignore this image if the orientation doesn't match. */
231 image = [UIImage imageNamed:imagename];
239 image = SDL_LoadLaunchImageNamed(imagename, screenh);
242 if (!image) {
243 image = SDL_LoadLaunchImageNamed(@"Default", screenh);
248 if (image) {
255 if (atleastiOS8 && image.size.width < image.size.height) {
265 } else if (!atleastiOS8 && image.size.width > image.size.height) {
278 /* Create the properly oriented image. */
279 …view.image = [[UIImage alloc] initWithCGImage:image.CGImage scale:image.scale orientation:imageori…
296 /* If YES, the launch image will be incorrectly rotated in some cases. */
386 /* tvOS only uses a plain launch image. */