简体   繁体   English

iPad版本的iOS App

[英]iPad version of iOS App

Is it possible to release a separate iPhone and iPad app with the same bundle identifier so that both apps are related to one another. 是否可以使用相同的捆绑包标识符发布单独的iPhone和iPad应用程序,以便两个应用程序相互关联。 Or is the only way to this is to make sure that the app is a universal app. 或者,唯一的方法就是确保该应用程序是通用应用程序。 The reason I want two separate builds is that I want vastly different UI and capabilities for the iPad. 我想要两个单独的版本的原因是我想要iPad的UI和功能大不相同。

I realize that I could detect which device the user is on using UIDevice.current.userInterfaceIdiom however since I want such drastic differences I think it would be easier to manage with just two separate applications. 我意识到我可以使用UIDevice.current.userInterfaceIdiom来检测用户正在使用哪个设备,但是由于我想要如此巨大的差异,因此我认为使用两个单独的应用程序将更易于管理。

Any help is appreciated 任何帮助表示赞赏

Two apps can't have the same bundle id, so you would have to use a different one if you still want to release separatedly. 两个应用程序不能具有相同的捆绑软件ID,因此,如果您仍要单独发布,则必须使用不同的捆绑软件ID。 However, if you use storyboards for example, you can configure your project to use one for iPhone/iPod and another for iPad. 但是,例如,如果使用情节提要板,则可以将项目配置为将一个项目用于iPhone / iPod,将另一个项目用于iPad。

Every app in the store is required to have an Unique bundle ID .You can make with little change 商店中的每个应用都必须具有唯一的捆绑包ID

com.companyName.appName.iphone  
com.companyName.appName.ipad

As noir says give name as "appName" and "appName for iPad" - it looks professional. 正如noir所说,将名称命名为“ appName”和“ iPad的appName”-看起来很专业。

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

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