ReplayKit Framework - Is it possible to only ask for permission once?

三世轮回 提交于 2020-06-23 06:54:25

问题


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

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?

Thanks![enter image description here]1


回答1:


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



来源:https://stackoverflow.com/questions/34228779/replaykit-framework-is-it-possible-to-only-ask-for-permission-once

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!