dismiss current view controller and present another swift 4 sorted by
relevance

Admin21.07.2021

A Beginner's Guide to Animated Custom Segues in iOS 8

You have content that needs to be displayed on an external screen.
9809
Admin09.09.2021

How to present a full screen modal view using fullScreenCover()

Considerations Keep in mind that the user can, at any time, kill the app.
608
Admin29.08.2021

Passing Data Between View Controllers in iOS: The Definitive Guide

This is when your custom animation gets to take center stage.
903
Admin30.06.2021

Access the instance of a Viewcontroller from another in swift

You will need to conform the delegate.
5100
Admin26.08.2021

GitHub

Since an app may have many navigation paths that lead to a single view controller, every preceding view controller needs the same code.
2302
Admin18.09.2021

Sharing State between View Controllers in MVC (Part 1)

The class that you want to delegate from, needs to call the function defined in the protocol How is this different from the previous example with passing data back via properties? Delegation is a better solution for view controller communication.
7608
Admin13.09.2021

Pass Data Between View Controllers

In full-screen mode, you need a way to dismiss a presented popover.
1406
Admin08.07.2021

Sharing State between View Controllers in MVC (Part 1)

This will make it look like the tapped image expands to fill the screen.
Admin06.07.2021

Passing Data Between View Controllers in iOS: The Definitive Guide

In custom view controllers, you can change the behavior of these methods to something more suitable for your view controller.
509
Admin21.09.2021

Model View Controller (MVC)

That can be useful for persisting any registration steps as the user goes through, browses through a collection of photos or reads a long text.
3501
Admin29.06.2021

GitHub

Keep in mind that prepare for : sender : gets called for all segues going out from a view controller.
3402