1.  首页
  2.  博客
  3. NavigationController backButton 改名

NavigationController backButton 改名


更改 NavigationController backButton 的名字

在父类viewController中如下设置:

UIBarButtonItem *backbutton = [[UIBarButtonItem alloc]init];
backbutton.title = @"自定义名字";
self.navigationItem.backBarButtonItem = backbutton;
[backbutton release];

评论 0