views:

231

answers:

2

So, I want my app starts with a UIViewController(without seeing a tabbar), and then enter a UITableView with navigationbar and tabbar. the problem is that the Tabbar is visible at the app starts up, anyone can help on this will be very appreciated...

A: 

I think you should either send -presentModalViewController:animated: to your main UIViewController with the tab bar controller as an argument or just do this:

[myWindow addSubview: myTabBarController.view];
Costique
A: 
Andiih
yes my app is a navigation based application, the mainwindow calls UITableView with a tabbar and navigation bar, I think that's why the tabbar is shown at the startup view(it's a UIViewController). it will be appreciated if you could post some sample code..
Georg
my app is a TabBar based app, is this the problem to load an UIView which without tabbar controller visible??
Georg
yes. Make a view based app. Add the tab bar to the screens that you want a tab bar on.
Andiih