iOS and local network privacy
Since iOS & tvOS 14, the system requires a specific permission to allow the nanoCDN discovery used by SmartLib.
Make your declaration
Declare the nanoCDN service name “_nanocdn._tcp” in your app’s Info.plist.
![](/smartlib/assets/images/network-privacy-declaration-08d112e41f8fc3a45b7ea9a842918598.png)
Provide context
After declaring this service, you also need to provide a reason string, which provides context to someone when your app attempts to access a local network. Make sure this text clearly explains what your app is doing with the information it discovers from the local network and how receiving this data enables a necessary experience in your app.
![](/smartlib/assets/images/network-privacy-context-bdcfe6456f067eade356f8fb588275d2.png)
Resources
"Protect privacy during device discovery"
https://developer.apple.com/news/?id=0oi77447
"Support local network privacy in your app"
https://developer.apple.com/videos/play/wwdc2020/10110/