EditBox crashes in iOS

I’m using the latest repo of cocos2d-x (main branch). I added an EditBox in a scene as below.

auto editBox = EditBox::create(Size(getContentSize().width * 0.8, 100), "creator_tnail_white.png");
editBox->setFontName("My_Custom_Font.ttf");
editBox->setFontSize(32);
editBox->setPosition(Vec2(getContentSize().width/2, getContentSize().height * 0.75f));
editBox->setFontColor(Color3B::BLACK);
editBox->setPlaceHolder("Name:");
editBox->setMaxLength(100);
addChild(editBox);

This runs fine on macOS. However, when I run the same on iOS, it crashes as below. Has anyone seen this?

Answering my own question …

It appears that this issue was recently fixed. I updated my repo and the method that calls itself is gone :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.