SebastianBoldt / Jelly

🌊 - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API.
http://www.sebastianboldt.com/
MIT License
2.45k stars 123 forks source link

How to dismiss viewcontroller programmatically? #17

Closed londonbridges13 closed 7 years ago

londonbridges13 commented 7 years ago

I want to remove the alert when a user taps on a button. How would I go about doing that?

SebastianBoldt commented 7 years ago

Just take a look at the Example Project. You can the dismiss the Viewcontroller as usual by calling the native dismiss method on it.

londonbridges13 commented 7 years ago

I found @IBAction func dismissMe(_ sender: Any) { self.dismiss(animated: true, completion: nil) }

Thanks