NSLocalNetworkUsageDescription not displayed if provided via InfoPlist.string

According to https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/AboutInformationPropertyListFiles.html property list keys can be put into InfoPlist.strings to be localised.

When adding NSLocalNetworkUsageDescription in InfoPlist.string, it will not show on iOS14 with the newly introduce local network permission dialog. Instead only the “default” text is shown.
Only when NSLocalNetworkUsageDescription is added to Info.plist it will be shown. However it’s not possible to localise it in Info.plist.

We want to prepare our App already and provide localised NSLocalNetworkUsageDescription so that our users have propers information right from the beginning when iOS14 will be available.

FB8128316
Answered by awBSH in 634162022
Hi everyone,

I just tested with iOS 14.2 Beta and can confirm, that the translated string for NSLocalNetworkUsageDescription (from InfoPlist.strings) is used in the system alert. Now it works like expected.

Thanks, Andy
Filed FB8595441 as well
This issue still occurs in iOS 14 GM seed.

This issue still occurs in iOS 14 GM seed.

See this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Accepted Answer
Hi everyone,

I just tested with iOS 14.2 Beta and can confirm, that the translated string for NSLocalNetworkUsageDescription (from InfoPlist.strings) is used in the system alert. Now it works like expected.

Thanks, Andy
Still occurs in iOS 14.0.1
NSLocalNetworkUsageDescription not displayed if provided via InfoPlist.string
 
 
Q