-(IBAction)btnStartClick
{
proValue=0;
timer = [NSTimerscheduledTimerWithTimeInterval:0.001target:selfselector:@selector(changeProgress) userInfo:nilrepeats:YES];
}
-(void)changeProgress
{
proValue +=1.0;
if(proValue > 1500)
{
//停用计时器
[timer invalidate];
}
else
{
[proView setProgress:(proValue/1500)];
}
}