草庐IT

keyCommandForEvent

全部标签

ios - 每当输入文本时应用程序崩溃,无法识别的选择器发送到实例

每当我尝试在文本字段上书写时,我的应用程序崩溃时遇到这个奇怪的错误。-[NSNull_fastCStringContents:]:unrecognizedselectorsenttoinstance0x108e3eaf0***Terminatingappduetouncaughtexception'NSInvalidArgumentException',reason:'-[NSNull_fastCStringContents:]:unrecognizedselectorsenttoinstance0x108e3eaf0'我搜索过这个问题,但是我真的不明白为什么会这样?任何人都可以帮助我