-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use cc.EditBox on iOS 13.2.2 with CoreText issue #20334
Comments
I tested on iPhone11, can pop up keyboard, but can not close the keyboard, which is fixed in #20336. |
sorry, i found this issue is caused by the static library i linked cocos2d_libs.xcodeproj in the project, the editbox is working but can not close the keyboard as stated, the fixed is working. between, if i set the editbox return type to
no but UIEditBox.h do have the enum
|
As i remembered, when you use English keyboard, there is not way to add a new line. So use |
yes, there is no way to add a new line with iOS keyboard. from what i understand :
but in current implementation, all the KeyboardReturnType giving the same new line with just different label which give not related response to the label. so there is no way to close the keyboard except touching outside the |
Engine doesn't know if there is a next editbox or not. |
but why there is this enum in CCUIEditBox.h
and implementation of
if it is engine limit without passing reference of next editbox, how about make
|
there is a hide keyboard key on iPad keyboard but not iPhone keyboard layout. |
Sorry, i don't know what did you mean. And what's the problem? |
You can click the area outside of keyboard to close keyboard. |
yeah i know, i just hope there is other way to close keyboard in case if the whole screen is EditBox and make the different ReturnType useful. |
Yep, i think you are right. #20341 fixed it. |
i tried the fixed and is working on the js-test when set ReturnType to DONE. between, which is the best way to generate prebuilt library of is it just follow the cmake guide and compile with Cocos2d-x.xcodeproj?
|
Prebuilt Issue
I used to generate prebuilt with cocos console but that function was removed after v3.17.1, i still using v3.17 |
Steps to Reproduce:
Issue log on Xcode
CoreText note: Client requested name ".SFUI-Regular", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[UIFont systemFontOfSize:].
The text was updated successfully, but these errors were encountered: