You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a nice and easy library for alert controller.
However, I have a question.
In my program, as I press the button, I want to show another view controller. So I use "performSegue" to do that. It works on UIAlertController.
When I change to DOAlertController, the view didn't show up, but the code which I write in that view controller still appear in log. (It still prints what I want to show).
The error message is:
Warning: Attempt to present <XXX.AnotherViewController: 0x101933400> on <DOAlertController: 0x101928a00> whose view is not in the window hierarchy!
I'm wondering if somebody can give me some directions, thanks a lot. :-)
The text was updated successfully, but these errors were encountered:
shiaubo
changed the title
Cannot show another view controller
Cannot show another view controller by pressing button
Apr 19, 2017
calvingit
pushed a commit
to calvingit/DOAlertController
that referenced
this issue
Dec 19, 2017
It's a nice and easy library for alert controller.
However, I have a question.
In my program, as I press the button, I want to show another view controller. So I use "performSegue" to do that. It works on UIAlertController.
When I change to DOAlertController, the view didn't show up, but the code which I write in that view controller still appear in log. (It still prints what I want to show).
The error message is:
Warning: Attempt to present <XXX.AnotherViewController: 0x101933400> on <DOAlertController: 0x101928a00> whose view is not in the window hierarchy!
I'm wondering if somebody can give me some directions, thanks a lot. :-)
The text was updated successfully, but these errors were encountered: