如何配置iOS应用到特定设备上工作? [英] How to configure iOS app to work on specific devices?
问题描述
我发展与ZBar SDK iOS应用为QR- codeS扫描。 这里ZBar SDK创作者告诉我们,说
只有iPhone 3GS和iPhone 4的支持,因为他们有一个摄像头
支持自动对焦。该ZBar库不支持iPhone 3G和
永远也不可能支持它。
块引用>所以,我已经加入
自动对焦摄像头
键的所需的设备功能
我的plist部分。全部是伟大的,除了一件事 - 的iPad 2及iPod Touch的第四代并不具备自动对焦的摄像头,但仍然能够使用我的ZBar SDK code扫描QR- codeS。但我的自动对焦摄像头
键doen't允许用户与iPad 2和iPod Touch第四代,从App Store下载我的应用程序。在换句话说,我需要找到一个办法让我的应用程序安装通过应用商店在这些设备上:
- 的iPhone 3GS。
- iPhone 4。
- iPhone 4S的。
- 的iPad 2。
- 新的iPad。
- 的iPod Touch第四代。
和这些设备上的我的应用程序不应该是可供选择:
- iPhone 2G。
- 的iPhone 3G。
- 的iPad。
- iPod Touch的第二代3D和
我的问题是:如何在App Store中提供一个列表器件我的应用程序的用户,而不是提供第二份名单设备的用户
?任何帮助将AP preciated!
PS:我看到这个问题上的SO ,但它并不能帮助我很多
PS2:此应用有可用的设备所需的设定。
系统要求:与iPhone 3GS,iPhone 4,iPhone 4S,iPod兼容
touch(第4代),iPad 2的的Wi-Fi,iPad 2的的Wi-Fi + 3G,iPad的(第三
代)和iPad的Wi-Fi + 4G。
块引用>有谁知道,他们是如何做到的?
PS3:同时加入两个
还是相机
和自动对焦摄像头
gives我们这个:
要求:与iPhone,iPod touch(第4代)
iPad 2的的Wi-Fi,iPad 2的的Wi-Fi + 3G,iPad的(第三代)和iPad的Wi-Fi
+ 4G。
块引用>而只要这不是一个很好的方式,因为我们有以适合我们的应用程序所有的iPhone,而不是3GS,4和4S。
PS4:我的应用程序是这里和它有这样的要求:
要求:与iPhone 3GS,iPhone 4和iPhone 4S的兼容
块引用>解决方案我们需要使用
视频摄像机
键必需的设备功能
应用程序的plist中的部分。I am developing iOS app with ZBar SDK for QR-codes scan. Here ZBar SDK creators tell us that
Only the iPhone 3GS and iPhone 4 are supported, as they have a camera with auto-focus. The ZBar library does not support the iPhone 3G and is unlikely to ever support it.
So I have added
auto-focus-camera
key to theRequired Device Capabilities
section of my plist. All is great, except one thing - iPad 2 & iPod Touch 4th Gen doesn't have auto focus camera, but still are able to use my ZBar SDK code to scan QR-codes. But myauto-focus-camera
key doen't allow users with iPad 2 and iPod Touch 4th Gen to download my app from App Store.In other words I need to find a way to make my app installable via App Store on these devices:
- iPhone 3GS.
- iPhone 4.
- iPhone 4S.
- iPad 2.
- The New iPad.
- iPod Touch 4th Gen.
And on these devices my app should not be available:
- iPhone 2G.
- iPhone 3G.
- iPad.
- iPod Touch 3d Gen and
My question is: how to make my app available in App Store for first list devices' user and not available for second list devices' users?
Any help will be appreciated!
PS: I have seen this question on SO, but it doesn't help me much.
PS2: This app has the desired set of available devices.
Requirements: Compatible with iPhone 3GS, iPhone 4, iPhone 4S, iPod touch (4th generation), iPad 2 Wi-Fi, iPad 2 Wi-Fi + 3G, iPad (3rd generation) and iPad Wi-Fi + 4G.
Does anyone know, how they did it?
PS3: At the same time adding both
still-camera
andauto-focus-camera
gives us this:Requirements: Compatible with iPhone, iPod touch (4th generation), iPad 2 Wi-Fi, iPad 2 Wi-Fi + 3G, iPad (3rd generation) and iPad Wi-Fi + 4G.
And that is not a great way as long as we have all iPhones as suitable for our app, instead of 3GS, 4 and 4S.
PS4: My app is here and it has such requirements:
Requirements: Compatible with iPhone 3GS, iPhone 4, and iPhone 4S.
解决方案We need to use
video-camera
key inRequired Device Capabilities
section of app's plist.这篇关于如何配置iOS应用到特定设备上工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!