Questions tagged [ios-permissions]

150 questions
186
votes
14 answers

NSCameraUsageDescription in iOS 10.0 runtime crash?

Using iOS 10.0 last beta. I had tried to use Camera to scan barcode in my app, and it crashed with this runtime error. This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist…
user3069232
  • 8,587
  • 7
  • 46
  • 87
159
votes
6 answers

Detect permission of camera in iOS

I am developing a very simple video app. I use the official control: UIImagePickerController. Here is the problem. When presenting the UIImagePickerController for the first time, the iOS will ask for the permission. The user can click yes or no. If…
user418751
  • 1,937
  • 2
  • 18
  • 21
74
votes
9 answers

Presenting camera permission dialog in iOS 8

When my app tries to access the camera for the first time on iOS 8, the user is presented with a camera permission dialog, much like the microphone one for microphone access in iOS 7. In iOS 7, it was possible to invoke the microphone permission…
jamix
  • 5,484
  • 5
  • 26
  • 35
67
votes
4 answers

iPad remembering camera permissions after delete—how to clear?

I'm trying to recreate the condition where the following code returns AVAuthorizationStatusNotDetermined: AVAuthorizationStatus authStatus = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo]; However, the iPad appears to remember…
Rogare
  • 3,234
  • 3
  • 27
  • 50
46
votes
7 answers

Customizing the iOS permission dialog for push notifications

When an iOS app attempts to register for push notifications for the first time, the system pops up a permissions dialog asking the user for permission to receive push notifications. Is it possible to customize the text of this dialog, to explain why…
42
votes
4 answers

iOS 10 and Permissions localization description

Faced interesting thing while preparing app for iOS 10. Starting from Xcode 8 you must provide description about any permission you ask in the app (https://forums.developer.apple.com/thread/49951) Everything seems good, but what if I want localize…
Alexander Zimin
  • 1,700
  • 1
  • 15
  • 19
41
votes
6 answers

Reset Permissions like Camera for iOS Apps?

When I develop an app for iOS (iPhone/ iPad) and I need to request permissions. When I use the camera I need to request the camera permission. This can only be done once. Is there a way to reset initial given permissions at least when I develop an…
Michael
  • 32,527
  • 49
  • 210
  • 370
27
votes
4 answers

iOS Calendar Access Permission Dialog, force it to appear?

I've written an app that requests access to the iPad's calendar. Under iOS 6, a system dialog appears that asks the user if that's okay. Problem is, I can't replicate that situation once it's happened. For testing purposes, I want to force that…
Greg Maletic
  • 6,225
  • 8
  • 54
  • 73
23
votes
4 answers

Complete list of iOS app permissions

Different web sites (e.g.) explain that the iOS permission model works like this: All apps have a set of basic permissions (including Internet access). If an additional permission is required during runtime the user is asked whether to grant or deny…
Jack Miller
  • 6,843
  • 3
  • 48
  • 66
22
votes
5 answers

iOS Push Notification Settings - Denied Permission vs Permission Never Requested

Is it possible to differentiate between the cases where an iOS user has explicitly denied user notification permissions, and an iOS user has never been prompted for permission? My situation: In the past, I've prompted for user notification…
21
votes
9 answers

__CRASHING_DUE_TO_PRIVACY_VIOLATION__

In Crashlytics, I can see iOS 10 users are getting this crash frequently. However, when I test in Simulator using iPhone 7/10.2, I'm unable to reproduce the crash. In my plist, I already have strings for NSCalendarsUsageDescription,…
amit
  • 1,373
  • 2
  • 16
  • 29
20
votes
3 answers

Android like permissions in iOS

In android, you define permissions for gps, sms sending, location , .., in the manifest file. Is there anything similar in the iOS, so the user would know what capabilities of the phone some app uses before installation? Or is the user warned during…
DixieFlatline
  • 7,895
  • 24
  • 95
  • 147
18
votes
4 answers

Location permission issue iOS 11 and iOS 10

I am having an issue when requesting location permissions from user when I use iOS11 my info.plist contains NSLocationWhenInUseUsageDescription When in use…
Ben Avery
  • 1,724
  • 1
  • 20
  • 33
15
votes
2 answers

Removing iOS permission alert for local notifications when running app in simulator

I'm trying to write an acceptance test in KIF on an app that asks for local notification permissions pretty early on. Unfortunately due to iOS simulator security reasons it isn't possible to automate accepting iOS permission alerts using KIF. Per…
Liron Yahdav
  • 10,152
  • 8
  • 68
  • 104
13
votes
3 answers

Firebase Analytics: is it using IDFA on iOS?

Given the upcoming iOS 14 permission prompt for apps that use the IDFA identifier, I am wondering if Firebase Analytics and Firebase Auth do need to access the IDFA in order to operate. In such case, are we then required to state that the app is…
Daniele B
  • 19,801
  • 29
  • 115
  • 173
1
2 3
9 10