iPHone限定设备。
来源:互联网 发布:泰国 知乎 编辑:程序博客网 时间:2024/05/16 10:32
https://developer.apple.com/library/ios/#documentation/General/Reference/InfoPlistKeyReference/Artic
UIRequiredDeviceCapabilities
UIRequiredDeviceCapabilities
(Array
or Dictionary
- iOS) lets iTunes and the App Store know which device-related features an application requires in order to run. iTunes and the mobile App Store use this list to prevent customers from installing applications on a device that does not support the listed capabilities.
If you use an array, the presence of a given key indicates the corresponding feature is required. If you use a dictionary, you must specify a Boolean value for each key. If the value of this key is true, the feature is required. If the value of the key is false, the feature must not be present on the device. In both cases, omitting a key indicates that the feature is not required but that the application is able to run if the feature is present.
Table 4 lists the keys that you can include in the array or dictionary associated with the UIRequiredDeviceCapabilities
key. You should include keys only for the features that your application absolutely requires. If your application can accommodate missing features by avoiding the code paths that use those features, do not include the corresponding key.
UIRequiredDeviceCapabilities
keyKey
Description
telephony
Include this key if your application requires (or specifically prohibits) the presence of the Phone application. You might require this feature if your application opens URLs with the tel
scheme.
wifi
Include this key if your application requires (or specifically prohibits) access to the networking features of the device.
sms
Include this key if your application requires (or specifically prohibits) the presence of the Messages application. You might require this feature if your application opens URLs with the sms
scheme.
still-camera
Include this key if your application requires (or specifically prohibits) the presence of a camera on the device. Applications use theUIImagePickerController
interface to capture images from the device’s still camera.
auto-focus-camera
Include this key if your application requires (or specifically prohibits) auto-focus capabilities in the device’s still camera. Although most developers should not need to include this key, you might include it if your application supports macro photography or requires sharper images in order to do some sort of image processing.
front-facing-camera
Include this key if your application requires (or specifically prohibits) the presence of a forward-facing camera. Applications use theUIImagePickerController
interface to capture video from the device’s camera.
camera-flash
Include this key if your application requires (or specifically prohibits) the presence of a camera flash for taking pictures or shooting video. Applications use the UIImagePickerController
interface to control the enabling of this feature.
video-camera
Include this key if your application requires (or specifically prohibits) the presence of a camera with video capabilities on the device. Applications use the UIImagePickerController
interface to capture video from the device’s camera.
accelerometer
Include this key if your application requires (or specifically prohibits) the presence of accelerometers on the device. Applications use the classes of the Core Motion framework to receive accelerometer events. You do not need to include this key if your application detects only device orientation changes.
gyroscope
Include this key if your application requires (or specifically prohibits) the presence of a gyroscope on the device. Applications use the Core Motion framework to retrieve information from gyroscope hardware.
location-services
Include this key if your application requires (or specifically prohibits) the ability to retrieve the device’s current location using the Core Location framework. (This key refers to the general location services feature. If you specifically need GPS-level accuracy, you should also include the gps
key.)
gps
Include this key if your application requires (or specifically prohibits) the presence of GPS (or AGPS) hardware for greater accuracy when tracking locations. If you include this key, you should also include the location-services
key. You should require GPS only if your application needs more accurate location data than the cell or Wi-fi radios might otherwise allow.
magnetometer
Include this key if your application requires (or specifically prohibits) the presence of magnetometer hardware. Applications use this hardware to receive heading-related events through the Core Location framework.
gamekit
Include this key if your application requires (or specifically prohibits) Game Center (iOS 4.1 and later.)
microphone
Include this key if your application uses the built-in microphone or supports accessories that provide a microphone.
opengles-1
Include this key if your application requires (or specifically prohibits) the presence of the OpenGL ES 1.1 interfaces.
opengles-2
Include this key if your application requires (or specifically prohibits) the presence of the OpenGL ES 2.0 interfaces.
armv6
Include this key if your application is compiled only for the armv6 instruction set. (iOS v3.1 and later.)
armv7
Include this key if your application is compiled only for the armv7 instruction set. (iOS v3.1 and later.)
peer-peer
Include this key if your application requires (or specifically prohibits) peer-to-peer connectivity over Bluetooth. (iOS v3.1 and later.)
bluetooth-le
Include this key if your application requires (or specifically prohibits) the presence of Bluetooth low-energy hardware on the device. (iOS 5 and later.)
- iPHone限定设备。
- iphone取设备码
- iPhone摄像头设备获取
- iPhone摄像头设备获取
- iPhone摄像头设备获取
- iphone设备分辨率
- iphone 获取 设备号
- iPhone摄像头设备获取
- 判断iphone设备版本号
- iPhone 设备查询
- iPhone设备型号列表
- 判断iphone设备型号
- iphone 设备判断
- iPhone设备型号列表
- 如何连接iPhone设备
- iPhone设备适配
- iPhone获取设备UDID
- iPhone 设备目录结构
- S3C2440中断解析和基于WINCE操作系统的中断分析(整理于网络,用于按键中断使用)
- WebKit的智能指针分析 - Part 1:RefCounted
- ASP.NET MVC案例教程(基于ASP.NET MVC beta)——第七篇:闲话ASP.NET MVC
- android 系统定制的小技巧(网络收集)
- 一日一点RakNet(44)--NAT Type detection
- iPHone限定设备。
- shell-init: error retrieving current directory
- Write buffer的作用
- cluster_interconnec
- android 修改谷歌拼音输入法全屏时的高度
- C语言中函数参数的入栈顺序
- mark
- 一步步学Linux网络编程--ping命令的实现分析
- ARM寻址方式小结 [ARM]