note: questions not duplicate of questions asking how detect if user has denied access.
i saw lot of code on how detect if user has given access camera, i'd need know when user denies access.
my scenario next:
user opens view a, asks access camera, pop appears, user denies access, user redirected b.
is possible?
actually, there's way of doing it:
[avcapturedevice requestaccessformediatype:avmediatypevideo completionhandler:^(bool granted) { if(granted){ nslog(@"granted access"); } else { nslog(@"not granted access"); } }];
Comments
Post a Comment