Re: NSURLConnection changing the URL
Re: NSURLConnection changing the URL
- Subject: Re: NSURLConnection changing the URL
- From: "Mohan Parthasarathy" <email@hidden>
- Date: Tue, 20 Jan 2009 13:14:28 -0800
Oops,It looks like initWithRequest seems to work. The problem was in the
caching of my UIViewController which has a UIWebView. For UITableView, in
viewWillDisAppear, i can invalidate data (by causing a reload and returning
no data). I can see that UIWebView has a reload method. But i need to be
able call this from somewhere so that whenever the view loads it needs to
fetch the data always ? Is this possible or i have to disable caching
ViewControllers that have UIWebView in them ?
Thanks
mohan
On Tue, Jan 20, 2009 at 12:22 PM, Mohan Parthasarathy <email@hidden>wrote:
> Hi,
>
> I want to be able to establish the TCP connection to a server and do
> multiple HTTP GETs with different URLs. I thought will achieve this by
> allocating a NSURLConnection and then initWithRequest:urlRequest with a
> different URL everytime as there is no other way to set the URL. It looks
> like that this is not working and the URL is not changing. Is there a way to
> not to allocate the connection everytime i need to send a new request ?
>
> While debugging, i found that sending a description message to
> NSURLConnection coredumps. Is that right or a bug in my program ?
>
> Thanks
> mohan
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden