标签: ios swift crash runtime-error
我为项目添加了一个额外的视图,并将其分配给ViewController类。但是当用户想要使用segue app崩溃时移动到额外的视图。
错误
answerBox.addTarget(nil, action: "textFieldDidChange:", forControlEvents: UIControlEvents.EditingChanged) //EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP,subcode=0x0)