添加链接库QuartzCore.framework
添加头文件
#import <QuartzCore/QuartzCore.h>
UButtonIcon.layer.cornerRadius =22.5f; //数字根据大小进行微调
UButtonIcon.layer.masksToBounds =YES;
添加链接库QuartzCore.framework
添加头文件
#import <QuartzCore/QuartzCore.h>
UButtonIcon.layer.cornerRadius =22.5f; //数字根据大小进行微调
UButtonIcon.layer.masksToBounds =YES;