CALayer *layer = [CALayer layer];
CGRect frame = CGRectMake(0, 29, 60, 13); [layer setFrame:frame]; [layer setContents:(id)image.CGImage]; [view.layer addSublayer:layer];本文共 170 字,大约阅读时间需要 1 分钟。
CALayer *layer = [CALayer layer];
CGRect frame = CGRectMake(0, 29, 60, 13); [layer setFrame:frame]; [layer setContents:(id)image.CGImage]; [view.layer addSublayer:layer];转载地址:http://sakaa.baihongyu.com/