简体   繁体   English

仅针对Iphone 6 Plus自动调整应用程序大小(即不针对Iphone 6)?

[英]Auto app-resize for Iphone 6 Plus only (i.e. not Iphone 6)?

My problem is that I have skipped support for the Iphone 6P screen size due to time constraints. 我的问题是由于时间限制,我已经跳过了对Iphone 6P屏幕尺寸的支持。 In other words, the app that is to be released will work on Iphone 4-6, but not 6P. 换句话说,要发布的应用程序将在Iphone 4-6上运行,但不能在6P上运行。 What I want is either to not release the app for Iphone 6P (is that possible?) or, in the best case, make the autoresizing work for Iphone 6P like it did before I added the launchscreen for Iphone 6 (note: no launchscreen for iphone 6P). 我想要的是不发布Iphone 6P的应用程序(可能吗?),或者在最佳情况下,像为我添加Iphone 6的启动屏幕之前所做的那样,为Iphone 6P进行自动调整大小工作(注意:没有适用于Iphone 6P的启动屏幕) iPhone 6P)。

tl;dr: How do I make the auto appresizing work for Iphone 6P but not Iphone 6? tl; dr:如何使Iphone 6P的自动缩放功能起作用,而不对Iphone 6起作用? Alternatively, if that is not possible, how do I skip support for Iphone 6P altogether, ie so that it does not appear in App Store for those devices? 或者,如果不可能的话,我该如何完全跳过对Iphone 6P的支持,即使它不出现在那些设备的App Store中?

Unfortunately, I'm afraid it can't be done. 不幸的是,恐怕无法完成。 As long as you support iPhone 6 you have to support iPhone 6+. 只要支持iPhone 6,就必须支持iPhone 6+。 And you cannot tell the app to resize just for the 6+. 而且,您不能告诉应用仅针对6岁以上的用户调整大小。

I'm sorry, you'll have to work all night long. 抱歉,您必须整夜工作。 :) But with autolayout and size classes, it can be achieved quite easily: https://developer.apple.com/design/adaptivity/ :)但是使用autolayout和size类,可以很容易地实现它: https : //developer.apple.com/design/adaptivity/

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

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