How to wake to the last activity on apple watch

Hi there,

I'm trying to figure out how to make my app always on top when waking the apple watch, just like the native Workout app does.

I've noticed the official guidance for users to enable this behavior, but how can I introduce it into my own app? Any answers will be appreciated!

Reference to apple support:

https://support.apple.com/en-sg/guide/watch/apd748b87e2a/watchos -> Wake to your last activity