Launch Screen.storyboard not work properly Xcode 7

白昼怎懂夜的黑 提交于 2019-12-01 21:06:22

问题


I am using Launch Screen storyboard in Xcode 7 to support iOS 9, And using imageSet to support iOS 7.

First thing I put UIImageView in LaunchView at full screen, and use images below (see image) at source to that imageView , but when I run my app in simulator this image do not show correctly (iPhone 4s, 5, 6, and 6 plus)

Where is the problem?

Can anyone help please?


回答1:


I have faced same issue one time. batter to use xcassets

For the launch image you can use the assets folder with the device specific launch images.

Add all launch screen here as per your requirement.

Go to the General Settings Of your project and check your settings make sure you have selected the assets folder. Remove the Launch Screen File text.




回答2:


Add all the images in Assets.xcassets as per expected size . Otherwise add image view in Launchscreen.storyboard and apply autoLayout.



来源:https://stackoverflow.com/questions/32945903/launch-screen-storyboard-not-work-properly-xcode-7

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