title: How to dismiss modal view controller from UITabBarController
body: <p>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...</p>
  
  <p>Inside logout button click action method...i had coded like this
  [self dismissModalViewControllerAnimated:NO];</p>
  
  <p>but on button click nothing happening...</p>
  
  <p>first : parent--loginviewcontroller   child--welcomescreen view controller
  Inside welcome screen,in account tab,on logout button click: how could i dismiss the above 
  MVC....</p>
  
  <p>can anyone give me a solution as soon as possible...its urgent...</p>