Add UITabbarController without storyboard

0

How do I add a UITabbarcontroller with UINavigationController , but I would like to add in a second view because I have the login login screen and would not like to display the tabbar in this first view, I found some examples but everyone added those controls in AppDelegate would anyone know how I can do this?

    
asked by anonymous 25.08.2015 / 18:58

1 answer

1
    UITabBar *suaTabBar = [[UITabBar alloc] initWithFrame:CGRectMake(0, 0, 320, 50)];
    suaTabBar.delegate=self;
    [self.view addSubview:suaTabBar];
    
25.08.2015 / 19:20