今天遇到这个问题
loaded the “TestViewController” nib but the view outlet was not set.’
解决办法
点击xib文件的File’s Owner
在右边的class文件写上自定义的类
按着ctrl点击File’s Owner,将View连接xib文件视图
loaded the "xxxViewController" nib but the view outlet was not set.'
时间: 2024-11-07 09:31:49