简体   繁体   English

适用于不同国家的多个iPhone App版本

[英]Multiple iPhone App Versions for Different Countries

I created an app and it is currently live in the app store for all countries. 我创建了一个应用,该应用目前已在所有国家/地区的应用商店中发布。 I would like to roll out a different version of my app for the UK, the only difference being the cities users see. 我想为英国推出我的应用程序的不同版本,唯一的区别是用户看到的城市。 Is it possible to do this ? 是否有可能做到这一点 ? What is the procedure for doing this when you already have an app live in the app store for all countries ? 当您已经在所有国家/地区的应用商店中都拥有一个应用时,该操作的程序是什么? Is this not a good way to go ? 这不是一个好方法吗? I could simply show all cities in one version of the app. 我可以在一个版本的应用中简单地显示所有城市。

You could try getting the location via CoreLocation and show the corresponding dataset when you detect that you're inside UK, but that won't work if you're in the basement with no WiFi nearby (or in the subway, for that matter). 您可以尝试通过CoreLocation获取位置,并在检测到自己在英国境内时显示相应的数据集,但是如果您位于地下室而附近没有WiFi(就此而言,则在地铁中)将不起作用。 If it's just for convenience this might be the way to go. 如果只是为了方便起见,这可能是解决之道。 Don't rely on it to work, CoreLocation can be fooled on jailbroken devices and in environments with no GPS and no/poor WiFi reception. 不要依靠它来工作,CoreLocation可以在越狱的设备上以及在没有GPS且WiFi接收没有/差的环境中被欺骗。

You could also roll a second version (a new target in Xcode) of your app with a different app ID that specifically targets the UK and use eg defines or target membership of datafiles so that different version has the right dataset. 您还可以使用其他应用程序ID(专门针对英国)并使用其他应用程序ID滚动应用程序的第二版本(Xcode中的新目标),例如使用数据文件的定义或目标成员身份,以便不同版本具有正确的数据集。 If I understood you correctly that would be a "limited" version in that it wouldn't have the full dataset of your existing app, so if it's a paid app the UK version should be cheaper as it has less functionality (but that's actually up to you as long as Apple doesn't nag). 如果我对您的理解正确,那将是“有限的”版本,因为它没有您现有应用程序的完整数据集,因此,如果它是付费应用程序,则英国版应该便宜一些,因为它的功能较少(但这实际上是只要苹果不na就给你)。

您可以将所有城市添加到应用中,并使用“国家/地区”选择器,默认选择用户IP地址所来自的国家/地区。

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

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