简体   繁体   English

仅适用于iPad或iPhone的iOS Universal App文件

[英]iOS Universal App files only for iPad or iPhone

When I name a file ~ipad or ~iphone will they only be bundled into the apps for the specific devices or into both? 当我将文件命名为〜ipad或〜iphone时,它们将仅捆绑到特定设备的应用程序中,还是捆绑在两者中? If both how can I achieve that a file is only compiled with the iPad or iPhone version? 如果两种方法都不能实现仅使用iPad或iPhone版本编译文件? Thank you, a0down 谢谢,a0down

One of the main features of a universal app is that the binary is the same for both iPhone and iPad. 通用应用程序的主要功能之一是iPhone和iPad的二进制文件都是相同的。 What you submit to the app store is a single binary that contains all the assets and code required to run the app on both devices. 您提交给应用商店的内容是一个二进制文件,其中包含在两个设备上运行该应用所需的所有资产和代码。

Unfortunately the only way for you to get what you want would be to create two completely separate apps - one for iPhone, one for iPad - and submit them both to the store. 不幸的是,获得所需内容的唯一方法是创建两个完全独立的应用程序-一个用于iPhone,一个用于iPad-并将它们都提交给商店。

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

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