Post

Replies

Boosts

Views

Activity

Reply to How can I translate location purpose strings?
I just noticed in the docs for requestTemporaryFullAccuracyAuthorizationwithPurposeKey - https://developer.apple.com/documentation/corelocation/cllocationmanager/3600217-requesttemporaryfullaccuracyauth: To localize a usage description, add an entry to your InfoPlist.strings file with the same key you provide for this parameter. So for following structure of the plist: <key>NSLocationTemporaryUsageDescriptionDictionary</key> <dict> <key>TempLocationPurposeYetis</key> <string>We use your location to find Yetis nearby</string> <key>TempLocationPurposeHaunted</key> <string>We use the temporary location to display nearby haunted houses</string> </dict> Your InfoPlist.strings should be: "TempLocationPurposeYetis" = "We use your location to find Yetis nearby"; "TempLocationPurposeHaunted" = "We use the temporary location to display nearby haunted houses"; Tested on Xcode 12 beta 2 + iOS 14 beta 3
Jul ’20