我的代码在这里:
(instancetype)initWithFrame:(CGRect)frame
{
self = [[[NSBundle mainBundle] loadNibNamed:@"LSCouponADView" owner:Nil options:nil] objectAtIndex:0];
if (self) {
}
return self;
}
Run Code Online (Sandbox Code Playgroud)
然后xcode有警告
指定构造器缺少对超类的指定构造器的超级调用
当我建造它时。