Using WatchKit, is there a way to keep the screen on?

My app displays various countdown timers that the user will see to see when to complete different tasks. I would like this screen to remain on the display on the watch when the app is in the foreground. Currently, the screen will automatically turn off and if I don't lift my wrist the app even pauses.

Is this just what I will need to create around, or is there a method that I cannot find to change this behavior?

+3


source to share


2 answers


There is no way in WatchKit to programmatically maintain a live / awake application. As you suggested, you will have to design around this limitation.



+4


source


The correct way to have a countdown timer on your watch is to add it to the complication.

It automatically keeps a timer when you give the next date



CLKRelativeDateTextProvider(date: wakeupDate, style: .timer, units: .second)

      

0


source







All Articles