iOS前端相机只有应用程序 [英] iOS front camera only app

查看:179
本文介绍了iOS前端相机只有应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾经因为没有在plist中指定应用程式而被拒绝,或是应用程式只能在装有3g装置或装有指南针的装置或发短信等情况下正常运作。如何指定我的应用程式将只对具有前置摄像头的设备(例如Skype必须这样做)才能正常运行。

I've had apps denied in the past for not specifying in the plist or something that the app will ONLY run properly on devices with 3g or devices with a compass, or with texting, etc. How do I specify that my app will ONLY run properly with devices that have a front camera (like Skype would have had to do) Thanks!

推荐答案

您的应用程序只能在具有前置摄像头的设备上使用,那么您可以通过将前置摄像头添加到应用程序所需的功能

If you want your app to be used only on devices that have a front camera, then you can specify that by adding front-facing-camera to the app required capabilities.

但是,如果应用程序在没有前置摄像头的设备上运行时有足够的功能,那么最好不要指定此功能。从文档

However, if the app has enough functionality when running on devices with no front facing camera, then it is probably better not to specify this capability. From the documentation:


您应该仅包含应用程序绝对需要的功能的键。如果您的应用程序可以通过避免使用这些功能的代码路径来容纳缺少的功能,请不要包含相应的键。

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.

这篇关于iOS前端相机只有应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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