Bug 540 - UIKeyboard static constants out of date
Summary: UIKeyboard static constants out of date
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 4.x
Hardware: PC Windows
: --- enhancement
Target Milestone: Untriaged
Assignee: Sebastien Pouliot
URL:
Depends on:
Blocks:
 
Reported: 2011-08-30 11:01 UTC by Jason Trahan
Modified: 2011-08-31 22:02 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Jason Trahan 2011-08-30 11:01:22 UTC
There is a few things I noticed in the Apple Documentation that MonoTouch does not reflect.

MT   : UIKeyboard.FrameBeginUserInfoKey (missing)
OBJC : UIKeyboardFrameBeginUserInfoKey (supported as of 3.2)

MT   : UIKeyboard.FrameEndUserInfoKey (missing)
OBJC : UIKeyboardFrameEndUserInfoKey (supported as of 3.2)

MT   : UIKeyboard.CenterBeginUserInfoKey
OBJC : UIKeyboardCenterBeginUserInfoKey (Deprecated as of 3.2)

MT   : UIKeyboard.CenterEndUserInfoKey
OBJC : UIKeyboardCenterEndUserInfoKey (Deprecated as of 3.2)

MT   : UIKeyboard.BoundsUserInfoKey
OBJC : UIKeyboardBoundsUserInfoKey (Deprecated as of 3.2)

Documentation:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWindow_Class/UIWindowClassReference/UIWindowClassReference.html
Comment 1 Jason Trahan 2011-08-30 11:07:44 UTC
This also includes the helper functions.
BoundsFromNotification
CenterBeginFromNotification
CenterEndFromNotification
Comment 2 Sebastien Pouliot 2011-08-31 19:56:36 UTC
* Added missing [Obsolete] and [Since (3,2)] attributes to existing properties / helper methods
* Added new UIKeyboard.Frame[Begin|End]UserInfoKey properties
* Added new helper methods Frame[Begin|End]FromNotification
Thanks for spotting/reporting them!
Comment 3 Jason Trahan 2011-08-31 22:02:45 UTC
No Problem ;)