Post

Replies

Boosts

Views

Activity

Integrate with the system provided Workout Live Activity in the Apple Watch Smart Stack
When I start a workout in my app, the system shows a Live Activity in the Smart Stack like in the picture. My app opens if I tap on it, but the pause and resume buttons doesn't do anything. I have implemented the PauseWorkoutIntent and ResumeWorkoutIntent which works with the Action Button. I guessed that these would be used from this Live Activity as well, but it seems like not. Has anyone successfully integrated with this? I haven't seen it documented anywhere, although I think it was already included in watchOS 10. This is also shown when using the built in workout app and for that the buttons work as expected.
0
0
419
Jun ’24
Interactive Live Activity in watchOS 11 - not getting AppIntent buttons to work
I have started to work on adding Live Activities to my app in watchOS 11. The app already has interactive Live Activities on the phone that works as expected. I have added a view for the activityFamily: small and it shows up as expected. My problem is that buttons doesn't work. I use the Intent based button, and on the iPhone Lock Screen they work. On the watch, nothing happens. Has anyone got this working? Not sure if I'm missing something or if it's a bug.
3
0
1.1k
Jun ’24
Unable to set the new App Tint Color options for App Shortcuts
I'm working on creating App Shortcuts for my app to show up in the Shortcuts app and Spotlight. One new feature this year is the option to add your apps tint color as a background, but I'm not able to get this to work. I have added the items NSAppIconActionTintColorName (String) and NSAppIconComplementingColorNames (Array?) to my info.plist file that where briefly mentioned in the WWDC23 video, but they don't seem to have any effect. Has anyone got these to work in their project?
3
4
2.8k
Jun ’23
Watch Ultra - How to customize Action Button secondary action?
I make a workout app for Apple Watch and have just implemented App Intents for StartWorkout, PauseWorkout and ResumeWorkout using the Action Button on Apple Watch Ultra. I want to add a secondary action that should be triggered when the Action Button is pressed a second time, but I can't find any documentation about how to accomplish this. I have tried to just create another AppIntent, but it doesn't show up as an option in the settings app. Any help with this would be much appreciated!
2
0
1.4k
Nov ’22