1.//导航栏设置透明(并显示返回按钮)
[self.navigationController.navigationBarsetBackgroundImage:[UIImagenew]forBarMetrics:UIBarMetricsCompact];
[self.navigationController.navigationBarsetShadowImage:[UIImagenew]];
2.
![](https://img.haomeiwen.com/i4696989/28f2cb9e647c57c9.png)
![](https://img.haomeiwen.com/i4696989/a3782299124e7f94.png)
![](https://img.haomeiwen.com/i4696989/f26e39ce83f951a2.png)
![](https://img.haomeiwen.com/i4696989/f7ce71456834a132.png)
1.//导航栏设置透明(并显示返回按钮)
[self.navigationController.navigationBarsetBackgroundImage:[UIImagenew]forBarMetrics:UIBarMetricsCompact];
[self.navigationController.navigationBarsetShadowImage:[UIImagenew]];
2.
本文标题:导航栏的细节和重写Button
本文链接:https://www.haomeiwen.com/subject/npptwttx.html
网友评论