仅更改UIButton上UIFont的大小

mcP*_*gma 30 iphone ipad

仅更改UIButton上现有字体大小的最快/最简单方法是什么?(pointSize是只读的)

提前致谢.

ken*_*ytm 70

UILabel* titleLabel = button.titleLabel;
titleLabel.font = [titleLabel.font fontWithSize:12345];
Run Code Online (Sandbox Code Playgroud)