隐藏导航条的返回按钮

隐藏导航栏的返回按钮

[self.navigationController.navigationItem setHidesBackButton:YES];

[self.navigationItem setHidesBackButton:YES];

[self.navigationController.navigationBar.backItem setHidesBackButton:YES];

另类做法

[self.navigationItem.backBarButtonItem setTitle:@""];

你可能感兴趣的:(隐藏导航条的返回按钮)