Android 9可以,Android10 无法发送
此代码更改箭头颜色
self.navigationController.navigationBar.tintColor = UIColor.whiteColor();
如果这不起作用,请使用下面的代码:
self.navigationBar.barStyle = UIBarStyle.Black
self.navigationBar.tintColor = UIColor.whiteColor()
Swift 3笔记
UIColor.whiteColor()
和类似的被简化为 UIColor.white
此外,许多以前隐含的可选项已更改为显式,因此你可能需要:
self.navigationController?.navigationBar =
相似问题