海神


iPhone获取字符串像素长度

2011-07-07
CGSize sizeOfStr = [str sizeWithFont:[UIFont systemFontOfSize:29] constrainedToSize:CGSizeMake(240.0f, 480.0f) lineBreakMode:UILineBreakModeCharacterWrap];

blog comments powered by Disqus