Hi all,
I want to display an UIProgressbar depending on the amount of data downloaded from the server.
One way I implemented is I made a NSURLConnection and set the delegate. The - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response gave me the expectedContentLengh
And in the - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data I am getting the data part by part every time until all the data are downloaded.
But this did not solve my problem.
Is there any other way to do this ?
All your suggestions are appreciated.
Thanks