[ProgSoc] NSURLConnect (iPhone SDK, NdV might know this?)
curious.jp at gmail.com
Fri Feb 26 18:13:47 EST 2010
On Fri, Feb 26, 2010 at 5:53 PM, Nathan de Vries <nathan at atnan.com> wrote:
> Yeah, NSURLConnection (on both the iPhone & Mac) uses the system configuration to connect via configured proxies & the keychain to answer authentication challenges with stored credentials. Unless you implement "connection:didReceiveAuthenticationChallenge:" in your delegate, a default implementation is used.
Thanks for the response! I guess the problem must lie somewhere
else... using the proxy at Melbourne Uni (which I think is squid),
Mobile Safari works fine, but other apps that talk to the web
(Facebook, Urbanspoon, Tramtracker, Pro RSS, Stocks etc) fail
horribly. I might have a dig in the ipa files and see if they
implemented the delegate.
A few other people seem to be having the same problem, and
puzzlingly, say it only cropped up after upgrading from iPhone OS 1.4
to 2.0. I didn't have my device then (only an iPod touch) so I can't
say whether that was the case or not.
More information about the Progsoc