I develop Stop Watch Application.
In my application, there are Two UIButtons , StartBtn
and StopBtn
, And also I use NSTimer
.
Now, i want to start NSTimer
when user click on StartBtn
and also stop when your click on StopBtn
.
I know that NSTimer
is stopped by [MyTimerName invalidate];
method but I don't know how to start NSTimer
again?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…