Local Network Privacy FAQ-11

This thread has been locked by a moderator.

This post is part of the Local Network Privacy FAQ.

Do I need a local network usage description property?

If your app uses the local network, you should set the NSLocalNetworkUsageDescription property to explain why it needs it. This is displayed within the local network privacy alert and thus is your best opportunity to convince the user to grant you access.

Just for reference, here what you see on iOS 16.1 with NSLocalNetworkUsageDescription:

And there’s the same alert with a custom explanation:

If your app lets the user enter a DNS name or IP address, include this property because the user might enter a local address. For example, if you’re creating a web browser, the user might use it to configure a network-based printer by entering the printer’s local network address into your browser.

Back to the FAQ

Up vote post of eskimo
2.0k views