Today I learned how to detect the current permission which the user gave to your application / iOS App. My main project, as some of my readers know, uses camera and photo gallery of the iOS. Now, you will see, if you have the same project, in your App Settings (Settings > Your App) that there are switches for Photos and Camera.
With above being said, I will be making a quick tutorial on how to detect the current permission your App has. And if the user has denied the appropriate and needed permission to your app, then the app will show the user a cool alert controller.
CLICK HERE: PHOTOS AND CAMERA PERMISSION TUTORIAL