NSTimer Pause not working
问题 I have setup three buttons with start , stop , pause . and given controls to NSTimer to calculates.start stop button works fine gives me the start and stop time but pause button does not gives me accurate time .it actually pause time ..but start again it adds the paused timed and disp[ay. supoose i pause at 5 second of start and wait for 5 sec then press start...it should display 5 ...but displaying 10.. -(void)start:(NSTimer *)timer { if(_timer==nil) { startDate =[NSDate date]; _timer=