Skip to content

Instantly share code, notes, and snippets.

@laevandus
Created July 20, 2019 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laevandus/1bdf8cd7c41ae2511990cfaeb73f080b to your computer and use it in GitHub Desktop.
Save laevandus/1bdf8cd7c41ae2511990cfaeb73f080b to your computer and use it in GitHub Desktop.
let interaction = UIContextMenuInteraction(delegate: self)
imageView.addInteraction(interaction)
imageView.isUserInteractionEnabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment