如何确保只有支持区域监控的设备才能在商店中看到我的应用程序?
Apple 的位置感知编程指南建议包括位置服务
,可能还包括UIRequiredDeviceCapability
的gps
。
我的应用程序需要 区域监控API。如何确保只有有能力的设备才能在商店中看到我的应用程序?
Apple's Location Awareness Programming Guide suggest to include the location-services
and possibly the gps
for UIRequiredDeviceCapabilities
.
My app requires the Region Monitoring APIs. How do I ensure only capable devices can see my app in the store?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是对的,位置服务和 GPS 将允许 iPhone 4 以外的设备安装您的应用程序。尽管您知道 iPhone 4 独有的一些其他功能(例如相机闪光灯或陀螺仪)也可以选择,并且需要该功能。
我不完全确定苹果是否会在没有明显需要的情况下对限制皱眉,但是陀螺仪在我看来就像是启用导航的应用程序中的一个可能的限制。如果您尝试这种方法,我会在文本字段中向审阅者解释评论的内容。另一个需要注意的是,你可能会面临未来设备无法“融入”的风险——例如,假设的 iPhone mini 具有区域监控功能,但缺少陀螺仪或相机闪光灯,则无法安装你的应用程序。
说实话,如果我是你,我会请苹果公司来确定。
You're right, location-services and gps will allow devices other than the iPhone 4 to install your app. You could pick some other feature though that you know is iPhone 4 exclusive, like camera-flash or gyroscope and require that one.
I'm not entirely sure whether apple will frown upon a restriction without an apparent need, however gyroscope appears to me like a likely restriction in a navigation enabled app. If you try this approach, I'd explain things in the text field for the comments to the reviewers. Another caveat would be that you'd risk that a future device wouldn't "fit in" - an hypothetical iPhone mini which would feature region monitoring but lacking a gyroscope or camera flash wouldn't be able to install your app, for example.
To be entirely honest, If I were you, I'd ask apple to make sure.
查看 UIRequiredDeviceCapability - Apple 开发人员文档。基本上就是你说的。您是否正在寻找有关如何执行此操作的说明?
Check out UIRequiredDeviceCapabilities - Apple Developer Documentation. Basically exactly what you said. Are you looking for instructions on how to do that?