When the inputMode is ANY, then we use TextView to input. otherwise we use normal UITextField. Fixed issue https://github.com/cocos2d/cocos2d-x/issues/13436
Fixed issue: https://github.com/cocos2d/cocos2d-x/issues/13616#issuecomment-135742727