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