I’ve done everything i could
i used the event.phase == “ended” or event.phase == “submitted”
native.setKeyboardFocus( nil )
it’s still there whn i move to another scne using storyboard. what should i DO?
I’ve done everything i could
i used the event.phase == “ended” or event.phase == “submitted”
native.setKeyboardFocus( nil )
it’s still there whn i move to another scne using storyboard. what should i DO?
The keyboard is linked to your native.textField. You need to remove it when you don’t need it anymore. Good place to remove it is the exitScene() function in your scene. You can use the following code
if yourNativeTextField then yourNativeTextField:removeSelf() yourNativeTextField = nil end
Hope this helps. All the best.
The keyboard is linked to your native.textField. You need to remove it when you don’t need it anymore. Good place to remove it is the exitScene() function in your scene. You can use the following code
if yourNativeTextField then yourNativeTextField:removeSelf() yourNativeTextField = nil end
Hope this helps. All the best.