ios - Crash on response of requestAccessForMediaType when asking permission for camera -


i have issue devices using ios 10, on first launch of app, when try use camera, appears pop-up describes reason app needs use camera, , either user accepts either declines it, app crash. after that, application crashes on splash screen.

this issue happens if user tries use camera first time app launched. if user not use camera first time , terminates app, next time camera opens properly.

i added nscamerausagedescription in info.plist think changing message in pop-up.

the app's info.plist must contain nscamerausagedescription key string value explaining user how app uses data.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -