how to use the progress bar in the iphone app
问题 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 instead of UIActivityIndicator , it will be more appropriate. How do I use UIProgressView while downloading some data? Can anybody give me a tutorial link or example code? Thanks in advance. 回答1: first you create IBOutlet in .h file IBOutlet UIProgressView * threadProgressView; Then in .m file in viewdidload first set progress to 0.0 and then call