Xamarin.iOS - Handing Keyboard

来源:互联网 发布:软件售前方案 编辑:程序博客网 时间:2024/05/21 19:30
1. Scroll view when keyboard hide your input views

LINK - http://www.gooorack.com/2013/08/28/xamarin-moving-the-view-on-keyboard-show/

2. Hide keyboard on touching empty space of current UIViewController

public override void TouchesBegan(NSSet touches, UIEvent evt)        {            base.TouchesBegan(touches, evt);            this.View.EndEditing(true);//hide keyboard on touching empty        }

0 0
原创粉丝点击