Quantcast
Channel: User Burhanuddin Sunelwala - Stack Overflow
Viewing all articles
Browse latest Browse all 36

Answer by Burhanuddin Sunelwala for How to present a ViewController modally from the presentingViewController?

$
0
0

Well, I achieved it this way.Note: I am inside B.

let cViewController = // getting a handle of this view controller from Storyboardlet aViewController = self.navigationController?.presentingViewControllerself.dismiss(animated: true) {    aViewController?.present(cViewController, animated: true)}

Viewing all articles
Browse latest Browse all 36

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>