我正在尝试从警报操作中弹出控制器并进入另一个视图控制器。我想在进入另一个控制器后立即执行一些操作,比如打开另一个警报控制器。我该怎么做?
UIAlertController.getAlertView("Success", message: "Your password has been successfully changed!", cancelButtonTitle: "Ok", cancelHandler: { (action) in
self.navigationController?.popViewController(animated: true)
}).show(self)