我向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.'