Is there a simple replacement for MonoTouch.UIKit.UIKeyboard.BoundsFromNotification?

MonoTouch.UIKit.UIKeyboard.BoundsFromNotification(MonoTouch.Foundation.NSNotificaton)] 

was deprecated in iOS 3.2 . Is there an easy replacement / snippet way that I can use?

+4
source share
1 answer

New methods have been added in iOS 3.2 to replace the obsolete. See the UIKeyboard documentation for FrameBeginFromNotification and FrameEndsFromNotification .

Here is a stackoverflow question that shows how to update code How to get UIKeyboard size with Apple iPhone SDK in Objective-C, but it's easy to convert to C #

+3
source

All Articles