Display UIProgressbar With Percentage in iOS -
i new ios developement. want display uiprogressbar percentage on screen in ios.
any appreciated.
as vlad mentioned can have method updates value of progressview , associated label. call following method when update happens.
- (void)updateprogress { cgfloat stepsize = 0.1f; [self.progressview setprogress:self.progressview.progress+stepsize]; self.progresslabel.text = [nsstring stringwithformat:@"completed : %.0f",self.progressview.progress*100]; }
Comments
Post a Comment