ReplayKit Framework-是否可以只请求一次许可? [英] ReplayKit Framework - Is it possible to only ask for permission once?

查看:121
本文介绍了ReplayKit Framework-是否可以只请求一次许可?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于iOS 9中Apple的新ReplayKit Framework,您必须获得访问麦克风和录制屏幕的权限.

For Apple's new ReplayKit Framework in iOS 9 you have to get permission to access microphone and record screen.

好像在每次启动时都在xcode中运行我的测试应用程序时,当我在上一个会话中已经授予权限时,它会重新请求权限.

It seems like on when I run my test application in xcode on on every start up it re-asks for permission when I already granted permissions in a previous session.

是否有一种方法可以询问一次权限(当用户首次启动该应用程序时),而不必在每个新会话中再次询问?

Is there a way to ask permission once (when a user starts up the app for the first time) and not have to ask again on every new session?

感谢] 推荐答案

不幸的是,每次启动ReplayKit的屏幕录像机时都会显示此权限.无法控制或记住它.

Unfortunately, this permission shows up every single time you start ReplayKit's screen recorder. No way to control this or make it remember.

这篇关于ReplayKit Framework-是否可以只请求一次许可?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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