草庐IT

searchConroller

全部标签

ios - 原因 : '-[_UIFullscreenPresentationController adaptivePresentationController]:

我已将搜索栏添加到我的表格View中。但是当我在我的表格View中搜索某些内容时,如果我按下搜索栏的取消默认按钮以关闭我的键盘,则意味着我的应用程序崩溃了。崩溃报告:***Terminatingappduetouncaughtexception'NSInvalidArgumentException',reason:'-[_UIFullscreenPresentationControlleradaptivePresentationController]:unrecognizedselectorsenttoinstance0x7ff10a88cd80'***Firstthrowcallst