Reputation: 9
I am sending heartbeats from apple watch to phone and it runs smoothly in background. I am using healthkit and watch connectivity . App runs in background of watch but display never turns off. I want display to turn off and keep app running in background.
I am using healthkit watch connectivity
Upvotes: 0
Views: 67
Reputation: 2589
Apps compiled for watchOS 8 and later have Always On enabled by default.
You can disable this feature by setting the WKSupportsAlwaysOnDisplay key to false
in the WatchKit Extension’s Info.plist
file. Users can also disable Always On for the entire device or on a per-app basis by choosing Settings > Display & Brightness > Always On.
For more details Apple docs
Upvotes: 1