I need to start NSTimer by 0:0:0 that I am doing and I have a Pause button on click of that the timer has to pause after some time if a user clicks play it has to run from paused value of time. How can I pause and play in NSTimer?
Any help? Thanks in advance.
I need to start NSTimer by 0:0:0 that I am doing and I have
Share
Try this shizzle… worked great for me
EDIT
To be honest my actual code is this:
I used a UIButton and used this code when clicked.
remember to put this:
in your .h file
EDIT!
here is the countUp method. forget the down method. seconds, minutes, hours are Ints