HJViewStyle
HJViewStyle copied to clipboard
xib和代码快速设置View各种样式,实现阴影圆角并存,渐变色背景等功能
很容易导致和其他框架不兼容导致崩溃
在ios9.0设置指定角圆角无效啊 怎么回事?能修复下吗
这个框架跟IQKeyborad 一起用出现dispatch_once 崩溃问题。
在6plus或者6splus手机上的xib设置渐变色显示有问题,会少一部分
此处引起crash - (void)hj_setFrame:(CGRect)frame { [self hj_setFrame:frame]; Thread 1: EXC_BAD_ACCESS (code=2, address=0x16d19fff8)
//代码示例 UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; button.frame = CGRectMake(10,500, 300, 50); button.backgroundColor = UIColor.redColor; button.cornerRadius = 3; button.shadowRadius = 3; button.shadowColor = UIColor.blackColor; button.shadowOffset = CGSizeMake(3, 3); button.shadowOpacity = 0.3;...