0

How do I add multiple progress bars programmatically with all showing uploading progress of file?

I am using

(void)connection:(NSURLConnection *)connection didSendBodyData:
(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten
totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite

but I am not able to do that.

srm
  • 3,062
  • 16
  • 30
Siddharth Chauhan
  • 1,289
  • 8
  • 15
  • Possible duplicate of [Set the progress to UIProgressView when upload with NSURLConnection](http://stackoverflow.com/questions/12942464/set-the-progress-to-uiprogressview-when-upload-with-nsurlconnection) – max_ Feb 19 '16 at 23:42
  • What are you not able to do? What exactly isn't working? Can you show your code where you create your progress bars? – almas Feb 20 '16 at 05:58
  • i am used UIprogressbar and uplaoding image with NSURLConnection but uplaoding multiple images and for that i need multiple progress bar on view. if i create it programmatically i am not able to show its progress using (void)connection:(NSURLConnection *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite cos it need static progressbar name. it may be very easy but idk how to do it. please help – Siddharth Chauhan Feb 24 '16 at 18:17

0 Answers0