self.itemHeadingLabel = [[ShimmeringLabel alloc]initWithFrame:CGRectMake(0, 182, self.view.frame.size.width, 30)];
当它进入库文件时,它会崩溃
- (id)initWithFrame:(CGRect)frame {
self = [super initWithFrame:frame];
if (self) {
// Initialization code
[self initializeLayers];
}
return self;
}
在线后崩溃: - self = [super initWithFrame:frame];