In my iPhone app I am downloading some data from an FTP server. To show the action I am using UIActivityIndicator
. If I put UIProgressView
there in
It is quite simple. You just need to set appropriate value of property progress
of UIProgressView
.
In delegate of NSURLConnection
you should receive the amount of data you are waiting to download and update the progress
during downloading. Progress
is represented by a floating-point value between 0.0 and 1.0, inclusive, where 1.0 indicates the completion of the task.