我将此图标指向右侧,如何更改它以指向左侧
VC.labelSelected = self.details[(indexPath as NSIndexPath).row] + "✏️"
答案 0 :(得分:0)
仅将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