Questions tagged [ios-permissions]
150 questions
4
votes
1 answer
iOS Permission description limit
I want to know if is there any limit to define a message for iOS Permission description on info.plist.
I've searched for it but I didn't found nothing about.

Igor Custodio
- 99
- 10
4
votes
1 answer
Show microphone permission when denied
I have a button that when tap on it I have to check microphone permission.
For this reason I done this:
public func askMicrophoneAuthorization()
{
recordingSession = AVAudioSession.sharedInstance()
…

gianni rodari
- 117
- 3
- 7
4
votes
1 answer
NSCameraUsageDescription is not working in Xcode 9
I am using Xcode 9.2 and I have gone many threads on this topic and still no solution.
I want to use the iphone camera so I set the NSCameraUsageDescription as this
and still the app crashes with this error message
This app has crashed because…

jone2
- 191
- 1
- 4
- 18
4
votes
0 answers
Avoid iOS Permission Dialog When Modifying Photo
I am trying to prevent iOS from showing the following dialog when pictures taken with the app are edited by the user:
According to Apple's documentation for PHContentEditingOutput:
If your app edits the contents of assets already in the Photos
…

Jorge
- 2,530
- 1
- 19
- 28
4
votes
5 answers
What is the equivalent of Android permissions in iOS development?
I am not sure how to search for this so even a bunch of keywords would be enough or +1 if someone can point me to the relevant documentation.
Android has approx. 122 permissions described here. What is the equivalent in iOS? Do developers declare…

Legend
- 113,822
- 119
- 272
- 400
3
votes
3 answers
Flutter permission_handler package not opening app settings when permission is permanently denied
Have been working on the permission_handler package for sometime. Trying to figure out the app settings page on ios or android when user permanently denies access for the app.
My app to begin with needs access to the media library and the camera.…

Sumchans
- 3,088
- 6
- 32
- 59
3
votes
3 answers
flutter ios photos permission always return permission denied permanently
I'm using flutter to create an app for both iOS and android. I need photos and storage permission for iOS and android to access photos to update user profile pictures.
I used the permission_handler package to request permissions. And this works well…

Marsad
- 859
- 1
- 14
- 35
3
votes
0 answers
Is it possible to localize the NSPhotoLibraryUsageDescription string displayed by the iOS 14 "Select More" dialog?
My iOS project is set up with localized permission dialog text, through using the InfoPlist.strings file and checking it into my build target.
On iOS 14, when requesting for Photos library permissions, I noticed that the first time the app requests…

peco
- 1,411
- 3
- 17
- 38
3
votes
0 answers
Why is CLLocationManager giving me the wrong authorization status?
I'm building a running-based app in Swift that requests the user's location. For the sake of this question, let's just assume the app runs only on iOS 13+. Shortly after launching the app, we prompt the user for location access via the…

Brian Sachetta
- 3,319
- 2
- 34
- 45
3
votes
1 answer
HealthKit permissions, are they needed both from WatchOS AND iOS?
Are HealthKit permissions needed from BOTH iOS and WatchOS?
I'm requesting authorization from watchOS which in-turn guides user to open the iOS app to acquire permissions. To transfer information I am using WatchConnectivity by creating a WCSession…

as diu
- 1,010
- 15
- 31
3
votes
1 answer
How to show two different app usage message for NSCameraUsageDescription
In my application, the camera used in two places so how can I show two different messages for "NSCameraUsageDescription".
I've created the strings file to add messages for multiple languages but the message for camera access should not be same.
I…

Jay
- 153
- 2
- 13
3
votes
0 answers
iOS, How To Reset All App Permissions for Testing Purposes
I'm wondering if there is a simple way to reset all of the app permissions in the app I am working on. I am switching around the location of the permission in my app, and I would like to test it. However, I can't figure out how to reset these…

Jeremy Spence
- 63
- 1
- 5
3
votes
1 answer
iOS Swift how do I reset/revoke app permissions programmatically?
iOS Swift how do I reset/revoke app permissions from code.
I am trying to implement notification permission permission programatically.
as a reverse I am also trying to find the code to revert back the permission.

Kaviyarasu Arasu
- 329
- 5
- 13
3
votes
1 answer
iOS multiple notification permissions
Are there two separate permissions for iOS notifications i.e. local and push? Is it possible that application will ask for both permissions?
I am asking as I've found two different messages:
"AppName" would like to send you notifications.…

lrother
- 344
- 5
- 18
3
votes
2 answers
"PHPhotoLibrary.requestAuthorization" not asking permissions in iOS 9
It's not asking permissions for gallery in iOS 9 but in iOS 8 it works fine. Maybe I need any permission key in info.plist?
PHPhotoLibrary.requestAuthorization({ (status) -> Void in
})

Artem Kislitsyn
- 395
- 1
- 3
- 18