Image picker appears with list of images , but cannot pick an image from list. I have already added camera permission to plist file. It working in real device with ios 12.6. I am using ios 14 simulator in Mac M1 machine.
Image picker appears with list of images , but cannot pick an image from list. I have already added camera permission to plist file. It working in real device with ios 12.6. I am using ios 14 simulator in Mac M1 machine.
Thats bug on m1 silicon you have to downgrade your simulator iOS 13.7 https://developer.apple.com/forums/thread/110911
add this to your info.plist
<key>NSPhotoLibraryUsageDescription</key>
<string>Need to upload image</string>
<key>NSCameraUsageDescription</key>
<string>Need to upload image</string>
<key>NSMicrophoneUsageDescription</key>
<string>Need to upload image</string>
add this line in your info plist file under dict its will help and make sure plist verion 1.0 and now also go in pod file where ios verion should be 10.
<key>NSPhotoLibraryUsageDescription</key>
<string>This app needs access the photo to use for order.</string>