Returning back to the viewController with segues
Posted
by
umar
on Stack Overflow
See other posts from Stack Overflow
or by umar
Published on 2012-09-15T15:35:52Z
Indexed on
2012/09/15
15:37 UTC
Read the original article
Hit count: 189
This is my Hierarchy
Navigation Controller --> Login Controller View --- > Register Controller View
--> My Small Internal LeaderBoard View
Now I am using segues (Push)
to go to either LoginControllerView
or LeaderBoardView
Once I am on LoginControllerView
and then RegisterControllerView
I am using this code
[self dismissViewControllerAnimated:YES completion:nil]
However instead of returning me to LoginControllerView
it is returning me back to NavigationController
.
How can I return to my LoginController
© Stack Overflow or respective owner