如何配置iOS应用到特定设备上工作? [英] How to configure iOS app to work on specific devices?

查看:119
本文介绍了如何配置iOS应用到特定设备上工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发展与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下载我的应用程序。

在换句话说,我需要找到一个办法让我的应用程序安装通过应用商店在这些设备上:


  1. 的iPhone 3GS。

  2. iPhone 4。

  3. iPhone 4S的。

  4. 的iPad 2。

  5. 新的iPad。

  6. 的iPod Touch第四代。

和这些设备上的我的应用程序不应该是可供选择:


  1. iPhone 2G。

  2. 的iPhone 3G。

  3. 的iPad。

  4. 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 the Required 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 my auto-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:

  1. iPhone 3GS.
  2. iPhone 4.
  3. iPhone 4S.
  4. iPad 2.
  5. The New iPad.
  6. iPod Touch 4th Gen.

And on these devices my app should not be available:

  1. iPhone 2G.
  2. iPhone 3G.
  3. iPad.
  4. 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 and auto-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 in Required Device Capabilities section of app's plist.

这篇关于如何配置iOS应用到特定设备上工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆