iphone Programming Glossary: startstop
How to Pause/Play NSTimer? http://stackoverflow.com/questions/9975562/how-to-pause-play-nstimer Try this shizzle... worked great for me EDIT To be honest my actual code is this IBAction clicked id sender if startStop.titleLabel.text isEqualToString @ Start startStop setTitle @ Pause forState UIControlStateNormal startStop setTitleColor.. To be honest my actual code is this IBAction clicked id sender if startStop.titleLabel.text isEqualToString @ Start startStop setTitle @ Pause forState UIControlStateNormal startStop setTitleColor UIColor redColor forState UIControlStateNormal timer.. sender if startStop.titleLabel.text isEqualToString @ Start startStop setTitle @ Pause forState UIControlStateNormal startStop setTitleColor UIColor redColor forState UIControlStateNormal timer NSTimer scheduledTimerWithTimeInterval 1.0 target self..
|