我有这个图标指向右边,我如何改变它以指向左边
VC.labelSelected = self.details[(indexPath as NSIndexPath).row] + "✏️"
Best Answer-推荐答案 strong>
仅将 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/
|