gpt4 book ai didi

ios - 如何反转内置图标

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:57:22 29 4
gpt4 key购买 nike

我有一个指向右边的图标,我该如何改变它以便指向左边

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/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com