apple watch - WatchOS app running in background -


how keep apple watch app running in background. build timer, every time screen dims , wake app resets timer. how avoid this?

i don't think you're supposed to.

apple say:

  • do not use background execution modes technology. watch apps considered foreground apps because run while user interacts 1 of interfaces. result, corresponding watchkit extension cannot take advantage of background execution modes perform tasks.

you might want check elapsed time on wakeup instead.


Comments

Popular posts from this blog

Sass watch command compiles .scss files before full sftp upload -

filehandler - java open files not cleaned, even when the process is killed -

gridview - Yii2 DataPorivider $totalSum for a column -