开发者

getting string bound cocoa

I have an NSString object having string content as "Abc". It has font name, type and size as "Arial开发者_运维知识库", "Bold" and "12.0" respectively.

How can i know the bounding rect of the the said string.


NSString has a boundingRectWithSize:options:attributes: method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜