标签:
1、设置按钮属性:
self.titleBtn.imageView.contentMode = UIViewContentModeCenter;
self.titleBtn.imageView.clipsToBounds = NO;
2、处理点击事件
- (void)titleBtnClick
{
self.titleBtn.imageView.transform = CGAffineTransformMakeRotation(M_PI_2);
}
标签:
原文地址:http://www.cnblogs.com/fs-ios/p/4973343.html