-[NSObject(NSObject) doesNotRecognizeSelector:] crash when call -[ViewController prepareForSegue:sender:]

笑着哭i 提交于 2019-12-05 18:15:22

It is because in the view that you are opening up into, somewhere you are trying to call a method called row on a UITableViewCell.

You can see this in the first line of your crash log:

-[UITableViewCell row]: unrecognized selector sent to instance 0x1f8a6dd0

You should track down what object you are calling row on and make sure that you are calling it on the object that you think you are and not a UITableViewCell.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!