标签:
commentBtn.adjustsImageWhenHighlighted = NO; //背景:做博客的时候,写到工具条时,设置了评论、转发等button的高亮时的背景图片,
但是点击button的时候,发现normal状态的image也会有变化,这样不太好。
button的字体可以通过titleLabel来设置
UIButton
原文地址:http://www.cnblogs.com/yintingting/p/4540196.html