Skip to content

Conversation

@jamesm131
Copy link
Contributor

Summary

  • Adds double tap (primary hand gesture) support for play/pause in the Watch app's Now Playing view
  • This enables the watchOS 11+ double tap gesture to toggle playback when using the watch as a companion/remote control for the iPhone

Approach

Applied the existing applyPrimaryHandGesture() modifier to the play/pause button in NowPlayingMediaControlsView.swift. This modifier was already being used in PlayerControlsView.swift for local playback mode, so this change extends the same functionality to companion mode.

The implementation gracefully degrades on watchOS versions below 11.0.

Things to watch out for

  • Requires watchOS 11.0+ for the gesture to work
  • No behaviour change on older watchOS versions

Copy link
Collaborator

@GianniCarlo GianniCarlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this @jamesm131 ! I'll include it in the next version 🙌

@GianniCarlo GianniCarlo merged commit 847bd52 into TortugaPower:develop Dec 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants