views:

67

answers:

0
- (void)connection:(NSURLConnection *)connection  didSendBodyData:(NSInteger)bytesWritten  totalBytesWritten:(NSInteger)totalBytesWritten
           totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite {
    progBarReturn = (float) totalBytesWritten / totalBytesExpectedToWrite;

Since that is a void delegate method. General question is how do i update UIProgressView progress property on a control on VC-B (where the control is inited) with values generated in the NSURLConnection delegate didSendBodyData in VC-A. Currently VC-B is visable but the progressBar is not updating. VC-A is a singleton so I have the instance var progBarReturn from VC-A available to the control in VC-B but to no avail.