uiprogressbar

Disabled touch when UIProgressBarHUD is shown

Hi all, I've created an app where I'm creating a UIProgressBarHUD to show that something is loading. My question is, how can I disable the view so nothing can be pressed untill the loading is finished? I've tried setting: [self.view setUserInterationEnabled:NO]; However this doesn't work :/ Here is the code I'm using for adding the...

UIProgressbar in Cococa Touch

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)connecti...

How to show a UIProgressView for a download in my app?

I would like to show a progress bar indicating how much of a file has been downloaded in my iPhone app. I know how to set up the UIProgressView in IB and all that. But I need data such as file size in bytes to run it. How do I go about integrating such functionality with my byte download code (shown below)? - (void)connection:(NSURLConn...

How much should the AppDelegate do?

I'm designing quite a large App and on startup it will create sessions with a few different servers. As they are creating a session which is used across all parts of the app its something I thought would be best in App Delegate. But the problem is I need the session progress to be represented on the screen. I plan to have a UIToolBar at...

NSURLConnection and ProgressBar Crash when try to convert to float

Hi Guys i am trying to use progressbar while downloading using NSUrlConnection am missing somthing but dont know what see my code in my .h i have NSMutableData *receivedData; NSNumber *FileSize; which i use to calculate a precent for progressbar in my .m - (void)connection:(NSURLConnection *)connection didReceiveRespon...