skip to Main Content

How to dismiss and pop up a view controller in single click – Ios swift

I have 3 view controllers In the first view controller (ie. MydownloadViewController) i am using this to push to the another view controller. let vc = UIStoryboard.init(name: "Main", bundle: Bundle.main).instantiateViewController(withIdentifier: "ImagePreviewViewController") as? ImagePreviewViewController self.navigationController?.pushViewController(vc!, animated: true) and from the image…

VIEW QUESTION
Back To Top
Search