NSString sizeWithFont:forWidth:lineBreakMode:方法的文档(在iPhone SDK中)? [英] Documentation for NSString sizeWithFont:forWidth:lineBreakMode: method (in the iPhone SDK)?
问题描述
我找不到NSString sizeWithFont:forWidth:lineBreakMode:方法的文档(请参阅 Kevin Ballard 回答"调整UILabel的大小(在iPhone SDK中)是否适合?),请参阅iPhone SDK开发人员文档中的NSString类参考.我应该去哪里看看?
I can't find the documentation for the NSString sizeWithFont:forWidth:lineBreakMode: method (see Kevin Ballard's answer to "Sizing a UILabel (in the iPhone SDK) to fit?") in the NSString Class Reference in the iPhone SDK Developer Documentation. Where should I look?
更新:我尚未订阅iPhone OS库文档集,因此搜索无效.
Update: I hadn't subscribed to an iPhone OS Library doc set, so my search didn't work.
推荐答案
在XCode中,查找sizeWithFont:forWidth:lineBreakMode:
.确保已选择/可用iPhone文档集.
In XCode, look for sizeWithFont:forWidth:lineBreakMode:
. Make sure you have the iPhone docset selected/available.
It's also here, if you're logged into your developer account.
这篇关于NSString sizeWithFont:forWidth:lineBreakMode:方法的文档(在iPhone SDK中)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!