How to trigger a Modal Segue

Once you’ve connected two View Controllers via a Segue in the storyboard you need to give it an identifier so we can call it in code like so:

Dismiss it via an action like this:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.