nsurlconnection

iphone - Why the NSURLConnection connectionDidFinishLoading is not running?

Hello all My app looks like this: I have a UIScrollView and there is imageview inside. I implemented the scrollViewDidScroll delegate so that if the scroll did scroll, I will create a NSURLConnection and download a data from some url, for only once. The problem is that the NSURLConnection connectionDidFinishLoading only be called or r...

NSURLConnection redirected on iOS device, but not on simulator

When I make a request to a particular website, I get the XML response as desired on the simulator but I get a redirect page on the device. I think this is because it is detecting that I am using a mobile browser (similar results occur through Mobile Safari), but I'm setting the user agent string of the request to my laptop browser's UA ...