摘要: - (void)viewDidLoad{UIImage *buttonImageNormal = [UIImage imageNamed:@"whiteButton.png"];UIImage *stretchableButtonImageNormal = [buttonImageNormal stretchableImageWithLeftCapWidth:12 topCapHeight:0];\\设置帽端为12px,也是就左边的12个像素不参与拉伸,有助于圆角图片美观[doSomethingButton setBackgroundImage:stretchableBut 阅读全文
posted @ 2011-11-17 15:06 奔放小青年 阅读(899) 评论(0) 推荐(0)