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
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?
According to recent Apple's new Guidelines
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.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 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?
When using launch images for iPad the app was only running in 1024x768 resolution. There was no way (to my knowledge) to support native iPad resolutions with launch images.
Using launch storyboards will force your app to display at the native resolution which changes based on the device (see this page https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/Displays/Displays.html). Assuming your constraints are all setup correctly auto layout should take care of adapting to the new resolutions. However if you used any static height and width constraints the layout elements may appear smaller on some devices.
Using launch storyboards will force your app to display at the native resolution which changes based on the device (see this page https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/Displays/Displays.html). Assuming your constraints are all setup correctly auto layout should take care of adapting to the new resolutions. However if you used any static height and width constraints the layout elements may appear smaller on some devices.