Add UITabBar Control!
- by Taimur Hamza
hi,
I m stuck in a really simple problem. And i m afraid my question might annoy some people.
The problem i am facing in short is that i want to add UITabBar Control to my iphone application other than the main screen.
Let me explain, I have done everything successfully
Added UItabbar control from IB in the main window's xib, added a variable at the back end , associated it by dragging the line. Also added a UIWindow variable and wrote these lines .
[window addSubview:tabBarController.view];
[window makeKeyAndVisible];
when i launch the application a blank window appears and tab bar shows on its bottom. But the problem i dont want to add it to a particular window which is inside my app. Its no the first screen of my app. Its actually the 3rd screen of my app. Can anybody help ?
thanks
Taimur