# iOS Landscape Splash Screen Distorted on iPad Retina

**URL:** <https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942>\
**Category:** World Creation\
**Tags:** unreal-engine, iOS, question\
**Created:** [March 15, 2018, 9:22pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942 "2018-03-15T21:22:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![thegiffman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thegiffman](https://forums.unrealengine.com/u/thegiffman)\
**Post date:** [March 15, 2018, 9:22pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/1 "2018-03-15T21:22:24Z")

</div>

I’ve found that the landscape splash screen on iOS is distorted in the release version of 4.19 on the iPad retina. Basically, it rotates the image 90 degrees and then scales stretches it to the pre-rotation resolution. This happens even with the out-of-the-box Epic screens.

To fix it, in practice, I need to anticipate this distortion and do the opposite. But what’s really weird is that it only does this to the second splash image, not the one shown in the initial zoom in from the icon on launch. At launch the app cross-fades between the two, and the difference is very obvious and unprofessional (again, even with the epic ones). So, for example, the following two files need to be included for things to look right:

Default-Landscape-1336@2x.png - this needs to be normal

 ![233918-default-landscape-1336.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/b/2ab14ebf5370a923ce3c8682374f96add661e162.jpeg)

Default-Landscape@2x.png - this needs to be rotated 90 degrees and rescaled to the original resolution.

 ![233919-default-landscape.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/0/dd063d25609b0872bac131ffc6357c9a4e5ebb42.jpeg)

Crazy behavior, and not exactly easy to work around, as we deploy different apps for different customers. I’d like to create a script to just generate the screens based on a base image, but this sort of unpredictability really gets in the way. Anyone know if this is an outright bug, or if somehow it makes sense and I’m just not seeing something?

---

<div class="post-metadata">

**Author:** ![shh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shh](https://forums.unrealengine.com/u/shh)\
**Post date:** [April 13, 2018, 5:45pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/2 "2018-04-13T17:45:24Z")

</div>

Same problem on my side. It seems to be a bug and I’m still investigating it. Will tell more if I get something.

---

<div class="post-metadata">

**Author:** ![XsynthZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XsynthZ](https://forums.unrealengine.com/u/XsynthZ)\
**Post date:** [April 30, 2018, 1:52pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/3 "2018-04-30T13:52:48Z")

</div>

I have the same issue, and it isn’t just in 4.19

---

<div class="post-metadata">

**Author:** ![thegiffman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thegiffman](https://forums.unrealengine.com/u/thegiffman)\
**Post date:** [April 30, 2018, 2:13pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/4 "2018-04-30T14:13:27Z")

</div>

Do let us know if you figure anything out. I mean, Epic ships Fortnite for this platform, and the splash screen seems fine with that, so it sure seems like they would have run into it.

---

<div class="post-metadata">

**Author:** ![shh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shh](https://forums.unrealengine.com/u/shh)\
**Post date:** [May 3, 2018, 9:18am UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/5 "2018-05-03T09:18:05Z")

</div>

Hi.

I’ve done a workaround by modifying source code.

The file is Engine/Source/Runtime/ApplicationCore/Private/IOS/IOSAppDelegate.cpp

The function is didFinishLaunchingWithOptions (Hope that’s the function name, didn’t know Objective-C syntax)

There are a bunch of if/else cases, that selects the right launch image. I was testing on iPad Pro 2 12.9 inch, and noticed that there is no case for it, so the last else branch was executed (By the way it executed wrong: height and width were 0).

So, I’ve changed the line 652 (ue4.19.2) from

```
else if (Device == FPlatformMisc::IOS_IPadPro_129)

```

to

```
else if (Device == FPlatformMisc::IOS_IPadPro_129 || Device == FPlatformMisc::IOS_IPadPro2_129)

```

and it worked like a charm.

So the generic steps for fixing this kind of errors are the following. Place a lot of UE\_LOGs, like in every if/else branch, to print your device (The FPlatformMisc::EIOSDevice enum values can be found in Engine/Source/Runtime/Core/Public/IOS/IOSPlatformMisc.h) and orientation. Next launch your app on the device, close it, get the logs with IPhonePackanger and watch through them. Verify that the correct image and orientation are chosen and you should see your launch image. There may be simpler way to debug the application running on device (especially if you are using Mac for development). If you know one, you may use it (and teach me, too).

P.S. Still I’m not sure if this is a bug, or I’ve been doing something wrong, but anyway I’ve posted a bug report to Epic, but did not get any answer yet. Hope this kind of issues will be fixed in 4.20, as Fortnite’s launch image looks great.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_942e8e52](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_942e8e52](https://forums.unrealengine.com/u/anonymous_user_942e8e52)\
**Post date:** [May 4, 2018, 6:36pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/6 "2018-05-04T18:36:49Z")

</div>

Thanks for that Shh! The fix you came up with is the same that has been applied to Fornite (The fix just hasn’t made its way back into Main yet) - I’ll be sure to put in a ticket to ensure this fix is applied ASAP

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_942e8e52](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_942e8e52](https://forums.unrealengine.com/u/anonymous_user_942e8e52)\
**Post date:** [May 7, 2018, 3:57pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/7 "2018-05-07T15:57:16Z")

</div>

Ticket can be tracked at: [Unreal Engine Issues and Bug Tracker (UE-58748)](https://issues.unrealengine.com/issue/UE-58748)

---

<div class="post-metadata">

**Author:** ![jakwarne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jakwarne](https://forums.unrealengine.com/u/jakwarne)\
**Post date:** [June 1, 2018, 2:59pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/8 "2018-06-01T14:59:01Z")

</div>

Hi guys, I have a question…

I changed that line in the source code but it didn’t fix the splashscreen issue, after i’ve edited and saved the .cpp file do I need to do something after that?

thanks

---

<div class="post-metadata">

**Author:** ![shh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shh](https://forums.unrealengine.com/u/shh)\
**Post date:** [June 1, 2018, 4:59pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/9 "2018-06-01T16:59:47Z")

</div>

Hi.  
I guess the engine should not be recompiled. So in general everything should work fine.  
You may need to delete some intermediate data.

---

<div class="post-metadata">

**Author:** ![jakwarne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jakwarne](https://forums.unrealengine.com/u/jakwarne)\
**Post date:** [June 1, 2018, 5:03pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/10 "2018-06-01T17:03:42Z")

</div>

Ah ok, well the engine is from the epic games launcher, is it possible to compile this version of the engine?

Thanks

---

<div class="post-metadata">

**Author:** ![shh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shh](https://forums.unrealengine.com/u/shh)\
**Post date:** [June 1, 2018, 5:12pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/11 "2018-06-01T17:12:09Z")

</div>

You should use the engine built from sources.  
Or you may wait a bit, till 4.20 release

---

<div class="post-metadata">

**Author:** ![jakwarne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jakwarne](https://forums.unrealengine.com/u/jakwarne)\
**Post date:** [June 1, 2018, 5:30pm UTC](https://forums.unrealengine.com/t/ios-landscape-splash-screen-distorted-on-ipad-retina/419942/12 "2018-06-01T17:30:16Z")

</div>

Ok cool, thank you for the help
