我有这个图标指向右边,我如何改变它以指向左边
VC.labelSelected = self.details[(indexPath as NSIndexPath).row] + "✏️"
仅将 self.details[(indexPath as NSIndexPath).row]
带到下一个屏幕。
将图标分配给 labelIcon
,翻转它,隐藏它,然后将其文本分配给 labelSelected
。
labelIcon.text = "✏️"
labelIcon.transform = CGAffineTransformMakeScale(-1, 1);
labelIcon.hidden = true
labelSelected.text = self.details[(indexPath as NSIndexPath).row] + labelIcon.text
关于ios - 如何反转内置图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39630963/
欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://jike.in/) | Powered by Discuz! X3.4 |