Fix iOS editbox EndAction wrong when single line mode. (UITextField) (#18870)

This commit is contained in:
Jo Huang 2018-06-01 11:11:21 +08:00 committed by leda
parent 8988f999f6
commit 5d7e58a2a1
1 changed files with 1 additions and 0 deletions

View File

@ -444,6 +444,7 @@
{
CCLOG("textFieldShouldBeginEditing...");
_editState = YES;
_returnPressed = NO;
auto view = cocos2d::Director::getInstance()->getOpenGLView();
CCEAGLView *eaglview = (CCEAGLView *)view->getEAGLView();