If your camera app doesn’t have permission to access the camera, it will close automatically when you launch it. Here’s how to check whether you’ve mistakenly denied the permission and turn it on:
- Open the Settings app
- Scroll down and tap App Management> Permission manager
- Select Camera and change the setting to Allow if it’s disabled