54.变换UIButton中的label和image的位置
1.自定义一个button并实现以下方法,在返回frame的方法中拿不到字体大小,一般用myFont属性写死。
- (id)initWithCoder:(NSCoder *)aDecoder
{ if (self = [super initWithCoder:aDecoder]) {
[self setup];
}
return self;
}- (void)s
原创
2015-07-27 11:40:00 ·
463 阅读 ·
0 评论