[infoText drawInRect:CGRectMake(10, 10, 310, 40) withFont:infoTextFont lineBreakMode:UILineBreakModeWordWrap];
Any suggestions on how to produce an e开发者_开发技巧llipsis when the text exceeds the size of the rect?
I missed this one in the docs... UILineBreakModeTailTruncation
精彩评论