摘要:
#pragma mark 绘制文本- (void)drawText{ NSString *text = @"床上明月光,疑是地上霜."; UIFont *font = [UIFontsystemFontOfSize:17]; NSDictionary *dict = @{ NSFontAttributeName : font, NSForegroundColorAttributeName : [UIColorredColor] }; CGRect rect = [text boundingRectWithSize:... 阅读全文