📜  替换后退按钮图像 swift 代码示例

📅  最后修改于: 2022-03-11 15:01:01.084000             🧑  作者: Mango

代码示例1
let yourBackImage = UIImage(named: "back_button_image")
self.navigationController?.navigationBar.backIndicatorImage = yourBackImage
self.navigationController?.navigationBar.backIndicatorTransitionMaskImage = yourBackImage
self.navigationController?.navigationBar.backItem?.title = "Custom"