报错'-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "xxvc" nib but the view outlet was not set.'
今天给已有的VC加一个xib就报这个错了,说的是没有做nib文件到xxxViewControler程序的关联。
1.首先选中报错的xib ,设置如下图。
image.png
2.
image.png
报错'-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "xxvc" nib but the view outlet was not set.'
今天给已有的VC加一个xib就报这个错了,说的是没有做nib文件到xxxViewControler程序的关联。
1.首先选中报错的xib ,设置如下图。