Skip to content

Instantly share code, notes, and snippets.

View GoranLilja's full-sized avatar

Göran Lilja GoranLilja

  • Freelance software engineer
  • Växjö, Sweden
View GitHub Profile
@GoranLilja
GoranLilja / README.md
Created February 28, 2017 06:08
Drag to dismiss

Drag to dismiss

Steps:

  • Add the view controller that you want to be able to dismiss.
  • From the calling view controller, add an action to present it modally.
  • On the segue, change Presentation value to Over Current Context.
  • See code below.