I am having a navcontroller then in the next I am loading a tabbarControllor. I am using addsubview to add the tabbarcontrollor. Some part of my tabbar is hidden could any one please tell me whats wrong with this.


I am having a navcontroller then in the next I am loading a tabbarControllor.
Share
Use a TabBar Controller as your rootViewController, and set this in your APP Delegate.
When your APP gets loaded, the tab bar controller comes up first, and by default – The First Tab! You should go to the view controller of your first tab, and in the
viewDidLoadof that file, use aModalViewControllerto use as aLoginViewController.If you get to this stage, the Login View Controller will pop up right after you launch the app. If login is successful, you can dismiss it
If you dismiss it, it will show you the rootController, which is the TabBarController, and this is the approach used by most programmers for login and stuff.