How to dismiss modal view controller from UITabBarController
Posted
by
user563697
on Stack Overflow
See other posts from Stack Overflow
or by user563697
Published on 2011-01-05T09:49:21Z
Indexed on
2011/01/05
9:53 UTC
Read the original article
Hit count: 301
iphone
Currently im developing an iPhone Game...When app loaded a login page is seen...when logged in...from login view controller a welcome screen view controller with tabbar(UITabbarcontroller iVar declared inside and connected to tabbarcontroller with interface builder) is presented(using presentModalViewCotroller)..There the first tab is dealing with account ..loaded from accountController NIb and view controller...inside which there's a logout button...when clicked i need to go to login page under loginview controller...
Inside logout button click action method...i had coded like this [self dismissModalViewControllerAnimated:NO];
but on button click nothing happening...
first : parent--loginviewcontroller child--welcomescreen view controller Inside welcome screen,in account tab,on logout button click: how could i dismiss the above MVC....
can anyone give me a solution as soon as possible...its urgent...
© Stack Overflow or respective owner