UICollectionView Segue Signal SIGBRT

时间:2016-10-03 05:52:11

标签: ios swift uicollectionview swift3

我向Collection View Controller做了一个手动Segue,但是有一个错误。

这是segue代码。

func showChatViewController() {
    performSegue(withIdentifier: "toChatLogController", sender: self)
}

是的,这是非常基本的

但是有这样的错误

Terminating app due to uncaught exception  
'NSInternalInconsistencyException', reason: '-[UICollectionViewController loadView] instantiated view controller with identifier "UIViewController-mj8-fl-tie" from storyboard "Main", but didn't get a UICollectionView.'

0 个答案:

没有答案