Go back to main window once secondView is loaded
Posted
by Ruthy
on Stack Overflow
See other posts from Stack Overflow
or by Ruthy
Published on 2010-03-25T10:29:07Z
Indexed on
2010/03/25
10:33 UTC
Read the original article
Hit count: 432
Hi, I have a Tableview on AppDelegate That calls a SecondView (dvController) when DidSelectRowAtIndexPath using:
[self.window addSubview:[dvController view]];
On SecondView I defined a button linked to IBAction that should go back to previous view. It works great but when row selected but, How could then go back to previous view if main one is AppDelegate?
self.window addSubview:[?? view]];
Should be basic concept but I am quite new and unable to get the solution. Thanx :)
© Stack Overflow or respective owner