TabbarController in UIViewController in iPhone?

Posted by arizah on Stack Overflow See other posts from Stack Overflow or by arizah
Published on 2012-10-27T17:10:24Z Indexed on 2012/10/29 5:03 UTC
Read the original article Hit count: 143

Filed under:
|
|

I'm pretty much new to iphone development and I started with ViewBasedApplication and I have a UIViewController(GetDetails) and I'm adding a tabBarController to it .There are two tabbar items GetDetails and Login.On startup of app GetDetails view will load up.Now when I click on the other tabbaritem (Login )it has to redirect to LoginViewController.But in my app when I click on Login ,LoginViewController with two textboxes and a button is loaded.But the problem is additionally I am also getting the textbox and button of GetDetailsViewController.For Login tabbaritem I have set the nib name to LoginViewController..

How can I get the corresponding view only when a tabbar item is clicked ?

GetDetailsViewController When I click on secondtabbaritem I can see like this..with GetDetails also displayed in the background TabbarController

© Stack Overflow or respective owner

Related posts about iphone

Related posts about xcode4