Hello,
I have problem with UITabBarController.
When I'm initialize UITabBarController in application delegate and add as subView of window it's ok.
But when I want move all UITabBarController initialization stuff to MainViewController and it's loadView method, then in Application Delegate add as subview:
Code:
MainViewController *mainView = [[MainViewController alloc] init];
mainView.view.frame = [UIScreen mainScreen].applicationFrame;
[window addSubview:mainView.view];
The aplication appear on screen like this:
Again - when do all without wrapping in MainViewController it's ok.
What's the problem?