我使用了以下代码而不是显示我设置的图像内置箭头图像显示
//Set Back button on Navigation
[[UINavigationBar appearance] setBackIndicatorImage:[UIImage imageNamed"backBtn.png"]];
[[UINavigationBar appearance] setBackIndicatorTransitionMaskImage:[UIImage imageNamed"backBtn.png"]];
Best Answer-推荐答案 strong>
希望对你有所帮助..
[[UIBarButtonItem appearance] setBackButtonBackgroundImage:[UIImage imageNamed"backBtn.png"]
forState:UIControlStateNormal
barMetrics:UIBarMetricsDefault];
关于ios - 导航栏上的自定义后退按钮不起作用,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/31474028/
|