问题描述
我正在运送两个二进制文件;一个用于iPhone / iTouch,另一个用于iPad。它是相同的应用程序。Apple会确保用户永远不会在iPad上收到该应用程序的iPhone版本吗?如果是,那么我没有什么可担心的,但如果没有,那么我确实有问题。
我问的原因是iPhone应用程序根本就没有在iPad上正常工作,因为服务器知道它是iPad,并将向其提供iPad高清内容,iPhone无法处理。如果在iPad上运行iPhone应用程序以获得正确的资源,我宁愿不破解我的应用程序向服务器发送虚假设备类型。
建议?
我一直在寻找这个,因为我无法阻止iPhone应用加载到iPad上。搜索了一下,了解为什么会发生这种情况,遵循@ hotpaw2 insctructions并在官方苹果商店规则中发现:
更新:
I'm shipping two binaries; one for iPhone/iTouch and the other for iPad. It's the same application.
Will Apple ensure that the user will never receive an iPhone version of the app on the iPad? If YES, then I don't have anything to worry about, but if not then I do have a problem.
The reason I ask is the iPhone application will simply not work correctly on the iPad because the server knows it's an iPad and will deliver the iPad HD content to it and the iPhone cannot handle that. I would rather not hack my application to send the server a fake device type if running the iPhone app on the iPad in order to receive the correct resources.
Suggestions?
I've been looking for this for a while because I couldn't prevent the iPhone app to load on the iPad. Searched a bit to understand why this was happening, followed @hotpaw2 insctructions and found this on the official apple store rules:
UPDATE:
https://developer.apple.com/appstore/resources/approval/guidelines.html
这篇关于阻止iPhone应用在iPad上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!