自定义的view添加xib文件的坑(this class is not key value coding-compliant for the key)

1
image.png

2
image.png

选择第二个

3 加载代码

    whfView *wf = [[[NSBundle mainBundle] loadNibNamed:@"whfView" owner:self options:nil] lastObject];

你可能感兴趣的:(自定义的view添加xib文件的坑(this class is not key value coding-compliant for the key))