How to dispatch a Keyboard event in xamarin IOS

gduchategduchate Member ✭✭

Hello

I am implementing an app with a customer keyboard, I need to dispatch a keyboard event for a xamarin IOS app, The app is cross platform and with the following code I can dispatch the event on xamarin Android.

              webView.DispatchKeyEvent(new KeyEvent(0, 0, KeyEventActions.Down, KeyEvent.KeyCodeFromString(digit), 0, MetaKeyStates.ShiftLeftOn | MetaKeyStates.CtrlOn));
                 webView.DispatchKeyEvent(new KeyEvent(0, 0, KeyEventActions.Up, KeyEvent.KeyCodeFromString(digit), 0, MetaKeyStates.ShiftLeftOn | MetaKeyStates.CtrlOn));

I need to get the equivalent for xamarin IOS

Thanks

Tagged:

Answers

Sign In or Register to comment.