iOS objective c, swift bypass proxy

Edison Lo
Edison Lo
Jan 15, 2018 · 1 min read

Encountered a situation that i need to bypasss some proxy servers, and while testing in simulator, it works great because the “Setting” in Mac can let you bypass proxy manually. But when it runs on real devices, it couldnt because no setting for bypassing proxy manually. And then i spent some time searching for solutions and found out no one has ever posted a solution for this, probably this situation are quite weird to encounter. Anyway, after digging in the apple document, here are the solutions:

objective -c