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

was deprecated in iOS 3.2. Is there a simple replacement method/snippet I can use?

poupou
  • 43,413
  • 6
  • 77
  • 174
dommer
  • 19,610
  • 14
  • 75
  • 137

1 Answers1

3

New methods were added in iOS 3.2 to replace the deprecated one. Look at UIKeyboard documentation for FrameBeginFromNotification and FrameEndsFromNotification.

There's a stackoverflow question that shows how to update your code at How to get UIKeyboard size with Apple iPhone SDK it's in Objective C but should be easy to convert into C#

Community
  • 1
  • 1
poupou
  • 43,413
  • 6
  • 77
  • 174