dismiss two vc's at a time and call new one

PHOTO EMBED

Thu Mar 02 2023 10:45:29 GMT+0000 (Coordinated Universal Time)

Saved by @hasnat #ios #swift #vc #dismis #dismiss #dissmis

  if let presentingViewController = self.presentingViewController?.presentingViewController {
            presentingViewController.dismiss(animated: false) {
                BottomBarViewController.BottomBarVC.embedFavoritesVC()
            }
        }
content_copyCOPY