I'm using CustomAlertViewController
as an Alert on UIViewController
. Current code snippet to present CustomAlertViewController
-
CustomAlertViewController: UIViewController {}
self.present(CustomAlertViewController(), animated: true, completion: {})
But I want to addCustomAlertViewController
on top of the view hierarchy.
Any suggestion how to achieve this?