ios - Warning: Attempt to present <Assessnow.GetTestViewController> on <UINavigationController> while a presentation is in progress -
i want know behaviour of navigation controller because searched many things , tried didn't stack of navigation controller. little bit confuse in pop , present , push navigation controller.
so doing showing viewcontroller:
self.navigationcontroller?.pushviewcontroller(controller, animated: true) and coming view again homeviewcontroller:
_ = self.navigationcontroller?.popviewcontroller(animated: true) i trying open viewcontroller:
let gettestviewcontroller = self.storyboard?.instantiateviewcontroller(withidentifier: "gettestviewcontroller") as! gettestviewcontroller gettestviewcontroller.modalpresentationstyle = .overcurrentcontext gettestviewcontroller.modaltransitionstyle = .crossdissolve self.navigationcontroller?.present(gettestviewcontroller, animated: true, completion: nil). but getting warning:
"warning: attempt present <assessnow.gettestviewcontroller> on <uinavigationcontroller> while presentation in progress". i saw below links , tried didn't reached.
attempt present uiviewcontroller while presentation in progress!-warning.
i want know why getting warning , how can resolve it.
Comments
Post a Comment