When presenting a view on the watch I get a "Cancel" button in the navigation bar that dismisses the view.
I want to change the text to "Done", but when I try to change it using .navigationBarTitle modifier it does no longer trigger a dismiss.
Is there a way I can change the title but keep the dismiss functionality?
Post
Replies
Boosts
Views
Activity
I make a workout app for Apple Watch and in watchOS 8 I was able to update the UI every second while the watch was in always on mode. This way I could show heart rate, calories and timers at all times.
In watchOS 9 I can no longer do this, the UI only refreshes once every minute. Anyone else seeing this issue and have a potential solution?
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!
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?
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.
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.