ios ask for photo library permission code example
Example: info.plist camera permission
<key>NSCameraUsageDescription</key>
<string>camera description.</string>
<key>NSCameraUsageDescription</key>
<string>camera description.</string>