如果功能不满足,阻止用户安装我的应用 [英] Prevent user from installing my app if capability not met

查看:63
本文介绍了如果功能不满足,阻止用户安装我的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,它的主要需求是自动对焦相机.如果用户没有自动对焦相机,该如何阻止用户安装此应用?

I working on an app and its primary need is auto focus camera. How can I prevent users to install this app if they don't have an auto focus camera?

推荐答案

好吧,如果您确实要阻止用户安装没有自动对焦相机的应用程序,则可以在信息中添加"UIRequiredDeviceCapabilities"键.plist文件,并可以向其中添加自动对焦相机"值.有关更多信息,请访问我的博客条目-

well if you really want to prevent users from installing your app if they don't have a autofocus camera then you can add "UIRequiredDeviceCapabilities" key in your info.plist file and can add "auto-focus-camera" value to it. for more info you can visit my blog entry - http://www.makebetterthings.com/blogs/iphone/how-to-prevent-apps-to-being-installed-on-wrong-or-incapable-devices/

这篇关于如果功能不满足,阻止用户安装我的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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