摘要:
如果要在按钮里的字体加下划线可以新建一个类继承UIButton 再重写(void)drawRect:(CGRect)rect方法View Code - (void)drawRect:(CGRect)rect { // Get the Render Context CGContextRef ctx = UIGraphicsGetCurrentContext(); // Measure the font size, so the line fits the text. // Could be that "titleLabel"... 阅读全文
posted @ 2012-07-26 19:11
天已界
阅读(365)
评论(0)
推荐(0)

浙公网安备 33010602011771号