Resolved UITabBarController show only 1 tab

Discussion in 'iOS Programming' started by igorladessa, Dec 19, 2012.

  1. igorladessa macrumors newbie

    Dec 10, 2012
    I'm trying to do a UItabBarController, but only 1 tab works...I have the ViewController and the XIB's and a Windows with the TabBarController that each tab linked a ViewController and your respected xib. But only one tab works (VerbetesViewController) The ViewController methods are called but the view appears white and Verbetes Appears correctly

    In AppDelegate I have:

     - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
     SplashVideoController *aMenuController = [[SplashVideoController alloc]
                                            initWithNibName:@"SplashVideoController" bundle:[NSBundle mainBundle]];
    [_window addSubview:aMenuController.view];
    [aMenuController setTabController:tabController];
    [_window makeKeyAndVisible];
    [application setStatusBarStyle:UIStatusBarStyleBlackTranslucent];
    return YES;
    And in InterfaceBuilder I have: (pls, look the print screens) Why work only the "Verbetes" tab?
  2. igorladessa thread starter macrumors newbie

    Dec 10, 2012

    Sorry, wasn't problem with tabController...I miss a @synthesize in ViewController

    The TabBarController is OK!

Share This Page