Change system http proxy programmatically

I have found that WiFi setting using WiFiManager in the AirPortSetting.bundles to setup the proxy. I tried but failed to change the proxy setting.

Finally find the way. You can refer to here:

1 个赞

I try to setup the proxy through your way , but it did not work, what should i do ?

An error log here?