xib 中, 没有对File's Owner 的Outlets view 进行绑定, 导致在父视图中插入子视图时出错, 在IB中拖拽Files' Owner到view, 步骤如下所示:


Terminating app due to uncaught exception
'NSInternalInconsistencyException',
reason: '-[UIViewController _loadViewFromNibNamed:bundle:]
loaded the "InquireCustomerFeedBackDetailViewCtrl" nib
but the view outlet was not set.'
网友评论