Button {

isPlaying ? player.pause() : player.play()

isPlaying.toggle()

} label: {

Image(systemName: "playpause")

.padding()

}

Reply to this note

Please Login to reply.

Discussion

No replies yet.