The system album and camera functions are called under iOS10 system. If the system crashes, the description is as follows:
This app has crashed because it attempted to access privacy-sensitive data without a usage app's must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
Fix method:
Add under the file
Camera permissions
<key>NSCameraUsageDescription</key> <string>cameraDesciption</string>
Album permissions
<key>NSPhotoLibraryUsageDescription</key> <string>photoLibraryDesciption</string>
Thank you for reading, I hope it can help you. Thank you for your support for this site!