本文介绍了是否有MonoTouch.UIKit.UIKeyboard.BoundsFromNotification的简单替代品?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
MonoTouch.UIKit.UIKeyboard.BoundsFromNotification(MonoTouch.Foundation.NSNotificaton)]
是。我可以使用一种简单的替换方法/代码段吗?
was deprecated in iOS 3.2. Is there a simple replacement method/snippet I can use?
推荐答案
iOS 3.2中添加了新方法来替换已弃用的方法。查看 FrameBeginFromNotification
和 FrameEndsFromNotification
的文档。
New methods were added in iOS 3.2 to replace the deprecated one. Look at UIKeyboard documentation for FrameBeginFromNotification
and FrameEndsFromNotification
.
有一个stackoverflow问题,显示如何在,它位于Objective C中,但应该易于转换为C#
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#
这篇关于是否有MonoTouch.UIKit.UIKeyboard.BoundsFromNotification的简单替代品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!