摘要:
// XXX: ios7 casting [str drawInRect:CGRectMake(textOriginX, textOrigingY, textWidth, textHeight) withFont:font lineBreakMode:NSLineBreakModeWordWrap alignment:(NSTextAlignment)align]; 这一句会报错,意思是NSLineBreakModeWordWrap和NSTextAlignment 没有定义, 那么把这两个类名改为UI开头的就能解决编译问题。[str drawInRect:CGRectMake(... 阅读全文