When setting DNS in the app using the saveToPreferencesWithCompletionHandler method of NEDNSSettingsManager

When setting DNS in the app using the saveToPreferencesWithCompletionHandler method of NEDNSSettingsManager

 

(1) After setting in the app, the user needs to manually select the set DNS in Settings App -> General -> VPN & Network -> DNS. Is there a way to do this automatically in the app?

 

(2) Besides the above, is there any other way to automatically configure system-wide DNS from the app?

 

Environment :

  • iPad 8th Gen.

  • iOS 14.0.1

  • Xcode 13.1

When setting DNS in the app using the saveToPreferencesWithCompletionHandler method of NEDNSSettingsManager
 
 
Q