我有一个UIViewController
,我正在从我的第一个视图控制器导航到第二个视图控制器,我想更改在navigationcontroller
上显示的返回按钮的名称....
SecondViewController *secondController = [[SecondViewController alloc]
initWithNibName:nil
bundle:NULL];
[self.navigationController pushViewController:secondController animated:YES];
现在我想在第二个viewcontroller
中更改navigationController
中按钮的名称。
UIBarButtonItemStyleBordered
已被弃用,现在应该使用UIBarButtonItemStylePlain
。 - drpawelo