IOS怎么设置View的背景会比较顺畅比较好的解决方法
CALayer *layer = [CALayer layer];
CGRect frame = CGRectMake(0, 29, 60, 13);
[layer setFrame:frame];
[layer setContents:(id)image.CGImage];
[view.layer addSublayer:layer];
CALayer *layer = [CALayer layer];
CGRect frame = CGRectMake(0, 29, 60, 13);
[layer setFrame:frame];
[layer setContents:(id)image.CGImage];
[view.layer addSublayer:layer];