How to programmatic config pac file path by app?

This is an enterprise scenario. We want to let IT admin to config proxy in system setting, such as pac file path. Is it possible to do it?

Replies

We want to let IT admin to config proxy in system setting, such as pac file path.

On what platform?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

For iOS.

For iOS.

OK. In that case, the answer from the other thread stands.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

The answer in the other thread is based on MDM. Is it possbile work in MAM?

Is it possbile work in MAM?

Please explain what you mean by “MAM”.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

MAM means mobile application management, it doesn't require enroll device.

Absent of MDM, there’s no way for an app to affect system-wide settings such as the proxy configuration. Within your app it is possible to apply custom proxy settings to some APIs, most notably

NSURLSession
. The other API that commonly comes up in this context is
WKWebView
and there’s no way to apply custom proxy settings for that, alas (r. 20545691).

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"