iOS webview app crash when accessing iPhone photo library
I was trying to upload photos using wordpress media library, after i click upload button, two options pop up from iphone: photo from iPhone photo library or from cloud. After clicking iphone photo library option, the app quits.
Any idea is Appreciated
You need to add Photo library permission in your app
open your info.plist
file add bellow xml
code
<key>NSPhotoLibraryUsageDescription</key>
<string>Allow to access photo library.</string>
if your app use camera then also add this code in info.plist
file
<key>NSCameraUsageDescription</key>
<string>Allow to access camera.</string>
if you don't know to how to open info.plist
in xml
code then check this image