XFPINView
XFPINView copied to clipboard
How to open keyboard on appear?
How to open keyboard on appear via xamarin forms focus dosent work..
There is a method called FocusBox() that lets you set focus on the hidden text entry.
/// Calling this, will bring up the soft keyboard, or will help focus the control
/// </summary>
public void FocusBox()
{
boxTapGestureRecognizer?.Command?.Execute(null);
}
So in your code-behind you can just call:
protected override void OnAppearing()
{
base.OnAppearing();
XfPinView.FocusBox();
}