navigationItem.title
Xcode 9 beta 编译器为和显示以下错误self.navigationController?.navigationBar.topItem?.title
:
模糊使用“标题”
这是我的代码:
self.title = BMLocalized("Select Number of Passengers")
navigationItem.title = navigationTitleString // here showing error
submitButton.setTitle(submitButtonTitle, for: .normal)
任何人都可以帮助解决这个问题吗?