Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

Request and get state of camera permission

$
0
0
Hey guys

There does not appear to be a way to ask the user for camera permissions in iOS?

The dialogue for the permission will pop up by itself when you try to Play() the WebCamTexture for the first time. If the user accepts the permission request, then the camera works just fine. If they deny it, we get a 'empty' WebCamTexture image.

I understand that after the user has denied the permission there is no way to ask them again. The user needs to go into his device settings and manually...

Request and get state of camera permission

Viewing all articles
Browse latest Browse all 10823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>