Skip to main content

Hi fellow community members,

 

Right now I am developing an app for K2 Mobile on IOS.

I have an editable list view with the rule list item click, which will trigger the "edit the selected row" action.

When the row is in edit mode, I would like to focus on 1 of the textbox and at the same time display the virtual keyboard.

Focusing on the textbox is fine, but the virtual keyboard will not show, unless I touch on the textbox.

 

Has anyone working on K2 mobile for IOS ever encounter such requirements?

 

Conray

Hi,


 


This is likely not a K2 Mobile issue. From what I know, there is no way to make the keyboard appear by focusing on the textbox. You will have to explicitly tap on it. The reason for that is because iOS only show the keyboard when a user-triggered event occur. Focus is not considered a user-triggered event, so no keyboard will appear.


 


Hi

 

Thank you for replying.

I understand that we can't do it because that is how IOS is intended to work.

There is no way to show the keyboard because some form of user action is required, be it a tap or click etc.

 

What I did as workaround is to utilise the javascript prompt() method.

If anyone is interested, I could share the workaround.


Hi conray,


 


It will be awesome if you can share your solution here. There are definitely people who are interested in implementing the same thing.


 


Reply