Monotouch 移动位于键盘下的内容,自动滚动被键盘遮住的内容
摘要:IOS官方的Object-C有例子,但是OC的代码。Moving Content That Is Located Under the Keyboard 效果如下图: 实现方法: 1.定义一个所有ViewControl的基类,命名为ViewControllerBase,ViewControl继承ViewControllerBase 代码如下: 1: public class ViewControllerBase : UIViewController 2: { 3: NSObject _keyboardObserverWillShow; 4: NSObje...
阅读全文