I working on an app which uses workout sessions to request heart rate data with a high frequency. Everything works perfectly if I create a new workout session from the app. Unfortunately, there is a usability issue. If user activates a workout from another Watch OS app (let's say for jogging or something), then my app has to stop his workout first, before starting a new one. How do we check if there is another Workout session already going? What I want to achieve is basically to utilise a session which is already running.
无法检查锻炼会话是否已在另一个应用程序中运行。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.