【发布时间】:2012-10-16 12:31:40
【问题描述】:
这是我的代码:
CGSize s = [string sizeWithFont:[UIFont systemFontOfSize:20]
constrainedToSize:CGSizeMake(self.view.bounds.size.width - 40, CGFLOAT_MAX) // - 40 For cell padding
lineBreakMode:UILineBreakModeWordWrap];
我收到一条警告说 UILinebBreakModeWordWrap 在 iOS 6 中已弃用。
【问题讨论】:
标签: uilabel deprecated