Share via


Info.plist Reference for Xamarin.iOS

For more information on working with Info.Plist keys please refer to the Working with Security and Privacy guide.

Location

Accessing the user's location also requires modifications to Info.plist. The following keys relating to location data should be set:

  • NSLocationWhenInUseUsageDescription - For when you are accessing the user's location while they are interacting with your app.
  • NSLocationAlwaysUsageDescription - For when your app accesses the user's location in the background.

Photos

NSPhotoLibraryUsageDescription

Contacts

NSContactsUsageDescription

Calendar data

NSCalendarsUsageDescription

Reminder data

NSRemindersUsageDescription

Bluetooth peripherals

NSBluetoothPeripheralUsageDescription

Microphone

NSMicrophoneUsageDescription

Camera

NSCameraUsageDescription

Reading HealthKit

NSHealthShareUsageDescription

NSHealthUpdateUsageDescription

Background modes

UIBackgroundModes

HomeKit

NSHomeKitUsageDescription