4
MonoTouch.UIKit.UIKeyboard.BoundsFromNotification(MonoTouch.Foundation.NSNotificaton)]
是deprecated in iOS 3.2。有一個簡單的替換方法/片段我可以使用嗎?是否有簡單的替代MonoTouch.UIKit.UIKeyboard.BoundsFromNotification?
MonoTouch.UIKit.UIKeyboard.BoundsFromNotification(MonoTouch.Foundation.NSNotificaton)]
是deprecated in iOS 3.2。有一個簡單的替換方法/片段我可以使用嗎?是否有簡單的替代MonoTouch.UIKit.UIKeyboard.BoundsFromNotification?
在iOS 3.2中添加了新方法來替換棄用的方法。請參閱UIKeyboard文檔FrameBeginFromNotification
和FrameEndsFromNotification
。
有一個計算器的問題,顯示如何更新您的代碼在How to get UIKeyboard size with Apple iPhone SDK它在目標C但應該很容易轉換爲C#