Is there a best practice to obtain a notification when the time changes?
I'm using a NSTimer that checks every 0,002 secs if the time is changed (hours and minutes, not seconds and milliseconds) to maintain in sync a label in my app with the phone clock every minute.
I'd hope there is a better solution.
Thank you
If you just want to update when the minute changes, this should do the trick:
And, if you can be certain to only call this method exactly once then you could do something like this: