阅读背景:

保留格式属性时NSAttributedString字体更改

来源:互联网 

I have an existing NSAttributedString that may include user edited attributes (i.e. Bold, Italic, Underline). I need to be able to change the base font from say Georgia to Helvetica, while maintaining the format attributes. Setting the font like so, overrides all format attributes (i.e. Georgia-Bold):I have an existing NSAttributedString that may




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: