Launch Screen.storyboard not work properly Xcode 7

2019-02-25 07:51发布

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)

enter image description here

Where is the problem?

Can anyone help please?

标签: ios iphone ios9
2条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-02-25 08:06

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.

enter image description here

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.

enter image description here

查看更多
Anthone
3楼-- · 2019-02-25 08:14

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

查看更多
登录 后发表回答