简体   繁体   中英

Launch Screen.storyboard not work properly Xcode 7

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?

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.

在此输入图像描述

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM