简体   繁体   English

iOS >> iPhone 5 vs. 4 >>如何强制应用程序具有一个屏幕大小?

[英]iOS >> iPhone 5 vs. 4 >> How to Force the App to Have One Screen Size?

Let's say that when creating a new app, I wish to NOT adjust an app for both screens sizes (5 vs. 4); 假设在创建新应用时,我不想针对两个屏幕尺寸(5对4)调整应用; instead I wish to design one screen that suits iPhone 4 (and lower) and have these black bars appear in both sides. 相反,我希望设计一个适合iPhone 4(及更低版本)的屏幕,并在两侧都出现这些黑条。

I do wish to use Auto Layout for other purposes. 我确实希望将“自动布局”用于其他目的。

Currently, If I design the screen in IB while it displays the 4 size and then run it on 5, it stretches the background view instead of adding the black bars. 当前,如果我在IB中设计屏幕时显示4大小,然后在5上运行它,那么它将拉伸背景视图,而不是添加黑条。

Anyone? 任何人?

Your app will be rejected, if you don't add iPhone 5 screen support. 如果您不添加iPhone 5屏幕支持,则您的应用将被拒绝。 Apple won t accept new apps without iPhone 5 support. 如果没有iPhone 5支持,Apple将不接受新的应用程序。

Apps that don't support Apple's latest iOS device displays are on their way out, as are apps that haven't been updated to address a longstanding privacy concern. 不支持Apple最新iOS设备显示的应用程序即将淘汰,而尚未更新以解决长期隐私问题的应用程序也即将淘汰。 On Thursday, Apple informed iOS App developers that as of May 1, the App Store will stop accepting new apps or app updates that access a device's unique identifier or fail to support Retina devices and the iPhone 5. 苹果于周四通知iOS App开发人员,自5月1日起,App Store将停止接受可访问设备唯一标识符或无法支持Retina设备和iPhone 5的新应用程序或应用程序更新。

Starting May 1, Apple will require all iPhone apps to do so, as well as support iOS devices with Retina displays in general. 从5月1日开始,Apple将要求所有iPhone应用程序这样做,并且通常会支持带有Retina显示屏的iOS设备。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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