Launch Screen storyboard migration issue

試著忘記壹切 提交于 2020-07-09 14:03:29

问题


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 used

This is how the screen following the launch screen looks when LaunchScreen.storybpard is used[.

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

来源:https://stackoverflow.com/questions/62511339/launch-screen-storyboard-migration-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!