iOS 11 返回按钮的处理

1.在BaseNavigationController中 :

 UIImage *backButtonImage = [[UIImage imageNamed:@"返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
 self.navigationBar.backIndicatorImage = backButtonImage;
 self.navigationBar.backIndicatorTransitionMaskImage = backButtonImage;

2.在BaseViewController中:

 self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:(UIBarButtonItemStylePlain) target:self action:nil];

你可能感兴趣的:(iOS 11 返回按钮的处理)