0
导航标题我想这样做:图标旁边用斯威夫特3
关于右侧的按钮,我这样做:
let buttonRight = UIBarButtonItem(image: UIImage(named: "back"), style: .done, target: self, action: nil)
let textRight = UIBarButtonItem(title: "Mixte", style: .done, target: self, action: nil)
self.navigationItem.rightBarButtonItems = [textRight, buttonRight]
但我不能改变图像的大小,点击文字与图像上的点击不同(点击是分开的)。
我想只有一个点击两个。
现在,对于中间的标题,我真的不知道该怎么做。
不,它不工作...当我点击texte例如,颜色只改变texte,并且相同的图标:/ – KevinB