简体   繁体   中英

Set empty string for iOS usage description Info.plist keys

Apple recommends to (crashes your app in iOS 10 if you don't) add usage description keys in the Info.plist file, like NSMicrophoneUsageDescription for example. But I didn't find what happens if you let them empty like:

<key>NSMicrophoneUsageDescription</key>
<string></string>

Well, I just found out, they reject your app. Even if you have this key in localization files in order to use a localized string, you still need this in the Info.plist file, even though, when developing, not having this key present the message in the Base localization.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM