uibaritem使用原图

let rightitembtn = UIBarButtonItem(image: UIImage(named: "icon_citychange"), style: UIBarButtonItemStyle.Plain, target: self, action: #selector(WriteArticleThirdVC.showLeft))
rightitembtn.image = rightitembtn.image!.imageWithRenderingMode(.AlwaysOriginal)

你可能感兴趣的:(uibaritem使用原图)