有没有办法在更多导航编辑弹出模式中更改导航栏色调颜色?

Is there a way to change the navigation bar tint color in the more navigation edit popup modal?

我可以使用 self.moreNavigationController.navigationBar.barTintColor 更改 more 的色调颜色,但是当点击 Edit 时,它会弹出一个模式弹出窗口。如何更改模态对话框的色调颜色?

我用

解决了这个问题
let appearance = UINavigationBar.appearance()
appearance.titleTextAttributes = [NSAttributedString.Key.foregroundColor: UIColor.white]
appearance.barTintColor = Constants.Color.barTint // UIColor
appearance.tintColor = .white