更新时间:2022-12-11 12:35:25
这很简单。
It's pretty easy.
就是这样!你需要的只是按照这个名字使用字体
And that's it! All you need then is to use the font by its name like this
cell.textLabel.font = [UIFont fontWithName:@FontNamesize :16];
更简单。您所需要的只是
Even easier. All you need is
cell.textlabel.textcolor = UIColor.redColor()
在您的情况下,您想要更改RowAction的字体。所以我想到的只有两个解决方案。一个使用 [UIColor colorWithPatterImage:]
In your case you want to change the font of the RowAction. So I think of only 2 solutions. One to use [UIColor colorWithPatterImage:]
或者您可以使用 [[UIButton外观] setTitleColor:[UIColor orangeColor] forState:UIControlStateNormal];
因为RowAction包含一个按钮。
Or you can user [[UIButton appearance] setTitleColor:[UIColor orangeColor] forState:UIControlStateNormal];
because the RowAction contains a button.