mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2211 from whitegfx/master
fixed #1842: Implementation of kEditBoxInputFlagSensitive setting for CCEditBoxImplIOS.
This commit is contained in:
commit
bf976bcc93
|
@ -411,6 +411,9 @@ void CCEditBoxImplIOS::setInputFlag(EditBoxInputFlag inputFlag)
|
|||
case kEditBoxInputFlagInitialCapsAllCharacters:
|
||||
m_systemControl.textField.autocapitalizationType = UITextAutocapitalizationTypeAllCharacters;
|
||||
break;
|
||||
case kEditBoxInputFlagSensitive:
|
||||
m_systemControl.textField.autocorrectionType = UITextAutocorrectionTypeNo;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue