Comment se fait-il que ce code ne produise pas de UINavigationBar sur mon UIView?Créer UINavigationBar par programme
//create the view
UIView *view = [[UIView alloc] init];
view.backgroundColor = [UIColor whiteColor];
//everything for tabbar
UINavigationBar *navBar = [[UINavigationBar alloc] init];
//add the components to the view
[view addSubview: navBar];
//show the view
self.view = view;
Je vois la vue en blanc mais pas NavBar. De l'aide? Qu'est-ce que je fais mal?
'view.frame = CGRectMake (x, y, w, h); navBar.frame = view.bounds; ' –