this code , have added nstimer
pdcoloredprogressview *progressview =[[pdcoloredprogressview alloc] initwithprogressviewstyle:uiprogressviewstyledefault]; [progressview setframe:cgrectmake(50, 50, 200, 25)]; [progressview setprogress:0.1 animated:yes]; [ progressview settintcolor:[uicolor redcolor]]; [self.view addsubview:progressview]; - (ibaction)startcount:(id)sender { _progressvaalue = 0.0f self.mytimer = [nstimer scheduledtimerwithtimeinterval:1 target:self selector:@selector(updateui:) userinfo:nil repeats:yes]; } - (void)updateui:(nstimer *)timer { int count =0; count++; if (count <= 1) { _progressvaalue = _progressvaalue + 0.1; progressview.progress = _progressvaalue; }
i getting this code, progressive view not showing