Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
It is not currently possible to set this property, which is required to avoid undesirable default Apple behaviour of the keyboard not going away in modal dialogs. Setting it to false causes the exception below.
2012-01-02 15:17:53.612 HelloWorld_iPad[17252:1907] -[HelloWorld_iPadViewController setDisablesAutomaticKeyboardDismissal:]: unrecognized selector sent to instance 0x9b5df70
Unhandled Exception: MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[HelloWorld_iPadViewController setDisablesAutomaticKeyboardDismissal:]: unrecognized selector sent to instance 0x9b5df70
at (wrapper managed-to-native) MonoTouch.ObjCRuntime.Messaging:void_objc_msgSendSuper_bool (intptr,intptr,bool)
at MonoTouch.UIKit.UIViewController.set_DisablesAutomaticKeyboardDismissal (Boolean value) [0x00000] in <filename unknown>:0
at HelloWorld_iPad.AppDelegate.FinishedLaunching (MonoTouch.UIKit.UIApplication app, MonoTouch.Foundation.NSDictionary options) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string,intptr,intptr)
This is a binding error, the setter doesn't actually exist in native code.
You're supposed to override the getter and return false there.
Fixed for the next unstable release.