You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered: