I would do the following:
if your time zone appears → set the clock to the current time, then start the timer, which updates the clock every second:
clockRefreshTimer = [NSTimer scheduledTimerWithTimeInterval: 1 target: self selector:@selector(updateClockView) userInfo:nil repeats:YES]
if the watch is about to disappear, an invalid timer
[clockRefreshTimer invalidate]
This way you are not making unnecessary updates.
hope i can help
sam
source
share