摘要:
可以达到文字描一圈白边的效果继承UILabel以后重载drawTextInRect- (void)drawTextInRect:(CGRect)rect {CGSize shadowOffset = self.shadowOffset;UIColor *textColor = self.textColor;CGContextRef c = UIGraphicsGetCurrentContext();CGContextSetLineWidth(c, 1);CGContextSetLineJoin(c, kCGLineJoinRound);CGContextSetTextDrawingMode(c 阅读全文