【发布时间】:2011-06-26 07:28:39
【问题描述】:
由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“* -[CALayer setShadowOffset:]:无法识别的选择器已发送到实例 0x2f86d0”
cell.shadowView.layer.masksToBounds = NO;
cell.shadowView.layer.cornerRadius = 10.0;
cell.shadowView.layer.shadowOffset = CGSizeMake(0, 2);
cell.shadowView.layer.shadowRadius = 6;
cell.shadowView.layer.shadowOpacity = 0.5;
【问题讨论】: