Why is the title of the navigation happens not set on it. . .
Reply:
In each controller's init function add
self.navigationItem.title = @ "controller title";
Try this okay
Reply:
Not ah.
Reply:
- (Id) init {
self = [super initwithNibName: nil bundel: nil];
if (self) {
self.title = @ "111";
UITabBarItem * tbi = [self tabBarItem];
[Tbi setTitle: @ "222"];
}
return self;
}
Try this.
Reply:
He will put the name of tabbar modified. . . Navigation bar or not
Reply:
Not ah. .
Reply:
Navigation bar above or not. .
Reply:
Your UINavigationController + UITabBarController is how to use
Reply:
Is to tabbar added to the nav root attempt, and then added to the window in the nav. .
self.tabBar = [[UITabBarController alloc] init];
self.tabBar.viewControllers = arry;
_nav = [[UINavigationController alloc] initWithRootViewController: self.tabBar];
[Self.window addSubview: self.nav.view];
Then I think in the first set on the interface at the nav title
Reply:
You try self.tabBar.title = @ "***", Also, I think you have a problem of structural design, it is best to join tabbarcontroller navigation view controller inside, tabbarcontroller as the topmost
Reply:
self.title = @ ""; you can modify
Reply:
Is push the viewcontroller of self.title is the navigation bar to see the title, instead of setting the navigation object
Reply:
I wrote an example pass up, you see is not what you want
http://download.csdn.net/detail/beijinuo/4734208
Reply:
I there are four interfaces, and if so write it not the case then four interfaces are the same name. . . I think every interface has its own name. . .
No comments:
Post a Comment