2

I have an app built in Objective C which uses Launch Screen Image Set as a splash screen. According to recent Apple's new Guidelines

Apps for iPhone or iPad must be built with the iOS 13 SDK or later and use an Xcode storyboard to provide the app’s launch screen. Reference - https://developer.apple.com/news/?id=03262020b

I removed the Launch image and added a LaunchScreen.storyboard with an UIImageView. After making the mentioned change all my screens following the Launch screen appear to have scaled-down in dimensions whereas before adding the LaunchScreen.storyboard it worked fine for all iPad screen sizes.

This is how the screen following the launch screen looks when the Launch Image Set is usedenter image description here

This is how the screen following the launch screen looks when LaunchScreen.storybpard is used[. enter image description here

I am confused as to why migrating from Launch screen image to LaunchScreen.storyboard is affecting the constraints of all the remaining screens. Please could someone help me here?

PS: Both screenshots are of iPad Pro 12.9 inch

Khadija Daruwala
  • 1,185
  • 3
  • 25
  • 54
  • 1
    Because without a launch storyboard (and presumably iPad Pro launch images) iOS scales your app so that it is running at iPad resolution rather than the full iPad Pro resolution. With a launch storyboard you must now set appropriate constraints so that your user interface adapts to the screen size. – Paulw11 Jun 22 '20 at 09:37
  • @Paulw11 Thanks, but I already have the constraints it worked fine before the storyboard, not sure if I got you correctly here – Khadija Daruwala Jun 22 '20 at 10:06
  • 1
    What constraints do you have? Do you have specific width/height constraints? That is what it looks like. – Paulw11 Jun 22 '20 at 10:08
  • @Paulw11 Yup I do have specific height/width constraints, maybe that could be the issue – Khadija Daruwala Jun 23 '20 at 04:58
  • I'm having similar issue. In my case, after switching to LaunchScreen, font looks smaller. – ofundefined Mar 10 '23 at 19:36

0 Answers0