How about to add func checkCameraAuth() like checkPhotoAuth() ?
For example, when user don't allow photo permission first time, there's a protocol FSAlbumViewDelegate has func albumViewCameraRollUnauthorized(), then I can show alert that user can go to setting and grant permission of taking photo.
But it seems like there's no similiar func for camera?
By the way, I still get warning when use example's way to preset, and I found the solution in stackoverflow:
// Utility function to avoid:
// Warning: Attempt to present on whose view is not in the window hierarchy!
How about to add func checkCameraAuth() like checkPhotoAuth() ?
For example, when user don't allow photo permission first time, there's a protocol FSAlbumViewDelegate has func albumViewCameraRollUnauthorized(), then I can show alert that user can go to setting and grant permission of taking photo.
But it seems like there's no similiar func for camera?
By the way, I still get warning when use example's way to preset, and I found the solution in stackoverflow:
// Utility function to avoid: // Warning: Attempt to present on whose view is not in the window hierarchy!