NSString sizeWithFont:forWidth:lineBreakMode:方法的文档(在iPhone SDK中)? [英] Documentation for NSString sizeWithFont:forWidth:lineBreakMode: method (in the iPhone SDK)?

查看:82
本文介绍了NSString sizeWithFont:forWidth:lineBreakMode:方法的文档(在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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆