Questions tagged [alauthorizationstatus]
2 questions
1
vote
1 answer
How to handle authorization status not determined for first time
Utilities.m
+(AVAuthorizationStatus)getAuthorizationStatus {
NSString *mediaType = AVMediaTypeAudio;
__block AVAuthorizationStatus AuthStatus = [AVCaptureDevice authorizationStatusForMediaType:mediaType];
if(AuthStatus ==…
![](../../users/profiles/1382104.webp)
S.J
- 2,979
- 3
- 30
- 63
0
votes
2 answers
iOS: Control access to camera roll new appear
in my app I use ALAssetsLibrary to load access at photos in camera roll;
The first time I start my app I see the classic message, if I want give the permission to access at the photo library or not.
But I want to test this situation in each case…
![](../../users/profiles/630412.webp)
cyclingIsBetter
- 16,737
- 47
- 149
- 236