- [__ NSPlaceholderArray initWithObjects:count:]:尝试从对象[1]'中插入nil对象。

时间:2015-09-01 07:53:03

标签: ios objective-c

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];

0 个答案:

没有答案