WKInterfaceTimer Does Not Update Continuously While App Is Active in the Dock

Originator:conrad.stoll
Number:rdar://27950246 Date Originated:22-Aug-2016 11:45 AM
Status:Open Resolved:
Product:watchOS SDK Product Version:watchOS 3
Classification:Serious Bug Reproducible:Always
 
I have a WKInterfaceTimer in my UI counting down and when the app enters the dock and is no longer active the timer stops. This occurs both when I trigger a snapshot and when I allow the system to trigger a snapshot by default. That is not what I would expect here. I would expect the system timer to continue running.

This matches the behavior of the bundled system Stopwatch and Timer apps that continue running while the app is in the dock and actively selected.

Note that NSTimer’s continue to fire while the app is actively selected in the dock and so the workaround to the above issue is to use a NSTimer triggering a WKInterfaceLabel. But that’s obviously not ideal given the intended purpose of the interface timer class and component.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!