【问题标题】:Using launchImage but keeping boundries in iphone5使用 launchImage 但在 iphone 5 中保持边界
【发布时间】:2012-12-23 16:04:57
【问题描述】:

我是否可以使用“Default-568@2x.png”添加启动图像,但不能以 4" 原始分辨率运行并保持边界。

我想要一个启动图像,但想要保持其他所有内容相同,并且想要保持黑色边界,以便视图的背景不会拉伸。

我支持 ios5,所以不能使用 Autolayout。

【问题讨论】:

    标签: ios5 ios6 retina-display iphone-5


    【解决方案1】:

    恐怕不会,因为使用Default-568@2x.png 意味着:我在 4" 工作...

    【讨论】:

    • 如果我添加 Default@2x.png 但不添加 Default-568@2x.png 怎么样?这行得通吗?
    • 是的,没问题。如果您不想要 4" 兼容性,只需删除 Default-568@2x.pngDefault@2x.png 只是 Default.png 的视网膜版本。这样您的应用程序将在 4" 设备上以 3.5" 模式运行...
    猜你喜欢
    • 1970-01-01
    • 2018-08-20
    • 1970-01-01
    • 1970-01-01
    • 2010-11-16
    • 1970-01-01
    • 1970-01-01
    • 2014-11-07
    • 2012-07-12
    相关资源
    最近更新 更多