I am trying to implement a chronometer on my app, but the left side zeros won't show up. Do you know any way to make them default?
Here's what I am trying:
self.text.string = [NSString stringWithFormat:@"%2.0d:%2.0d:%1.0d", minute, second, decimals];
Here's what I really see:
2014-01-04 15:55:06.462 appchrono[17556:70b] :3:2
2014-01-04 15:55:06.562 appchrono[17556:70b] :3:3
Here's what I want it to be:
2014-01-04 15:55:06.462 appchrono[17556:70b] 00:03:2
2014-01-04 15:55:06.562 appchrono[17556:70b] 00:03:3
Any help? Thank you!
You're close: