info.plist and permission string ios code example

Example: ios permission info.plist

File: Info.plist

Camera

<key>NSCameraUsageDescription</key>
<string>camera description.</string>
Photos

<key>NSPhotoLibraryUsageDescription</key>
<string> photos description.</string>
Save Photos

  <key>NSPhotoLibraryAddUsageDescription</key>
  <string> photos add description.</string>
Location

<key> NSLocationWhenInUseUsageDescription</key>
<string> location description.</string>
Apple Music:

<key>NSAppleMusicUsageDescription</key>
<string>My description about why I need this capability</string>
Calendar

<key>NSCalendarsUsageDescription</key>
<string>My description about why I need this capability</string>
Siri

<key>NSSiriUsageDescription</key>
<string>My description about why I need this capability</string>

Tags:

Misc Example