What are the possible way to set Global Http Proxy setting programatically?

Hello


I want to set the Global Http Proxy setting within my application. One possible way is creating a configuration profile with configurator and install that profile. But for this device will be supervised only.


Is there any other way, where I don’t need the supervised device?


Thanks

ck_ios

Replies

Is there any other way, where I don’t need the supervised device?

No.

Share and Enjoy

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

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

The closest thing that you can do is deploy a VPN profile and in the VPN configuration you can specify a proxy server to be used when the VPN is active. This is far from ideal but it is the only way I know of. You can also build an iOS app that uses the VPN api to do this but you won't be able to distribute it through the app store.