启动Screen.storyboard无法正常工作Xcode 7 [英] Launch Screen.storyboard not work properly Xcode 7

查看:94
本文介绍了启动Screen.storyboard无法正常工作Xcode 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Xcode 7中使用Launch Screen故事板来支持iOS 9,并使用imageSet来支持iOS 7.

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

我放的第一件事在LaunchView全屏显示UIImageView ,并在源头使用下面的图像(见图像)到该imageView,但是当我在模拟器中运行我的应用程序时,此图像无法正确显示(iPhone 4s,5,6,和6加)

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)

问题出在哪里?

有人可以帮忙吗?

推荐答案

我遇到过同样的问题发一次。击球手使用 xcassets

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

对于启动图像,您可以将assets文件夹与设备特定的启动图像一起使用。

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.

转到项目的常规设置并检查设置,确保选择了资源文件夹。删除启动屏幕文件文本。

这篇关于启动Screen.storyboard无法正常工作Xcode 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆