开发者

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

开发者 https://www.devze.com 2023-04-13 03:33 出处:网络
MonoTouch.UIKit.UIKeyboard.BoundsFromNotification(MonoTouch.Foundation.NSNotificaton)] was deprecated in iOS 3.2. Is there a sim开发者_如何学Cple replacement method/snippet I can use?New methods wer
MonoTouch.UIKit.UIKeyboard.BoundsFromNotification(MonoTouch.Foundation.NSNotificaton)]

was deprecated in iOS 3.2. Is there a sim开发者_如何学Cple replacement method/snippet I can use?


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#

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号