Contents

onPlayPauseCommand(perform:)

Adds an action to perform in response to the system’s Play/Pause command.

Declaration

nonisolated func onPlayPauseCommand(perform action: (() -> Void)?) -> some View

See Also

Responding to commands