利用cocosstudio在界面上添加了一个输入框,设置为可交互,没有其他node遮挡,但是点击不弹出键盘,求指教。
textfield需要添加事件才会响应的。
方法参考:
TextField* textField_password = static_cast<TextField*>(UIHelper::seekWidgetByName(root, “TextField_11”));
textField_password->addEventListenerTextField(this, textfieldeventselector(UITextFieldTest_Editor::textFieldEvent));