The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data

后端 未结 6 1518
南笙
南笙 2020-12-15 02:38

Got a build rejection The app\'s Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app

6条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-15 03:00

    iOS apps require the user to grant permission before accessing the Microphone. Trying to access it without user permission will lead to app crash.

    To request user permission, we just need to add NSMicrophoneUsageDescription key in the info.plist file & and provide a value for this key. Value can be any string stating the applications need to access the microphone.

提交回复
热议问题