Passing requests through a proxy.

Discussion in 'iOS Programming' started by lawlessc, May 10, 2013.

  1. lawlessc, May 10, 2013
    Last edited: May 10, 2013

    lawlessc macrumors newbie

    May 10, 2013
    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


    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?
  2. ArtOfWarfare macrumors G3


    Nov 26, 2007
    I'd just like to point out that CFURLRef and NSURL* are toll free bridged:

Share This Page