【发布时间】:2022-03-05 04:12:16
【问题描述】:
var backButton: UIBarButtonItem = UIBarButtonItem(title: "CUSTOM", style: UIBarButtonItemStyle.Bordered, target: self, action: nil)
newNavigationItem.backBarButtonItem = backButton
newNavigationItem: UINavigationItem在哪里
我想要自定义后置标题。它显示“返回”文本或“最后一个视图的标题”。所以它不起作用。为什么?
【问题讨论】: