Post

Replies

Boosts

Views

Activity

Reply to How to present and dismiss intermediate view controllers?
i think it is too late to reply to your question but here is working solution. and hope it will help others as well . ` self.presentingViewController?.presentingViewController?.dismiss( animated: true, completion: nil )` It's a way to navigate up the chain of presented view controllers and dismiss them one by one. for you it will dissmiss vc2 and vc3 in once .
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’23