Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lawlessc

macrumors newbie
Original poster
May 10, 2013
1
0
My first post, and not my last.


I'm currently working on a simple application using a webview but i wish to pass the requests through a proxy (from within the app, setting a proxy for the whole device isn't an option, nor is a third party library).

The only two ways i can see of doing this are adding the proxy somehow to initwithscheme for NSURL

or

Somehow doing it with CFURL which looks quite complex and may not work, and for which explanations are few and far between.


Has anyone successfully done this before?
 
Last edited:
I'd just like to point out that CFURLRef and NSURL* are toll free bridged:

http://developer.apple.com/library/ios/documentation/CoreFoundation/Conceptual/CFDesignConcepts/Articles/tollFreeBridgedTypes.html
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.