我想用 UIImage 和 UILabel 放置导航栏标题。
\nlet image = UIImage(systemName: "flame")\nimageView.tintColor = R.color.fire()\nself.navigationItem.titleView = imageView\nself.navigationItem.title = "\xed\x91\x9c\xec\x8b\x9c\xed\x95\x9c \xec\xa0\x9c\xed\x92\x88"\nself.navigationController?.navigationBar.titleTextAttributes = [.foregroundColor: R.color.myPageMenu]\nRun Code Online (Sandbox Code Playgroud)\n这是我的代码,但此代码仅显示UIImage(systemName: "flame").