Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let tapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(playPauseClicked(tapGestureRecognizer:)))
- playPauseImageView.isUserInteractionEnabled = true
- playPauseImageView.addGestureRecognizer(tapGestureRecognizer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement