Skip to content

Instantly share code, notes, and snippets.

@romyilano
Last active January 17, 2024 02:03
Show Gist options
  • Save romyilano/85e914e97636e8b6c9c14f4c7ea6e24a to your computer and use it in GitHub Desktop.
Save romyilano/85e914e97636e8b6c9c14f4c7ea6e24a to your computer and use it in GitHub Desktop.
Apple watchOS state transition

Handling Common State Transitions

The watch is a little different from the phone but has the same states

  1. not running
  2. inactive
  3. active
  4. background
  5. suspended

Stuff that's tricky is that there's a throttle on calling the watch out of background state, watch Connectivity delivery is also tricky

article

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment