settings for image permission swift code example
Example 1: 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>
Example 2: info.plist camera permission
<key>NSCameraUsageDescription</key>
<string>camera description.</string>