Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个iPad应用程序可以创建一个pdf并且工作正常,但是我试图让标题变粗。
iPad
pdf
目前我有:
UIFont *font = [UIFont fontwithname:@"arial" size 12];
我想知道我需要添加什么来使文本加粗。
非常感谢
这可以解决问题:
UIFont *font = [UIFont fontWithName:@"Arial-BoldMT" size:12.0];