What is a segue in iOS?

A segue defines a transition between two view controllers in a app. The starting point of a segue can be a button, table view row or gesture recogniser. The end point of a segue is a view controller that we want to display. A segue always presents a new view controller. We can use unwind segue to dismiss a view controller.

Leave a Reply

%d bloggers like this: