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.
monotouch master-3.0: a49e3f6363b5a23a9c4fe20579cdd07e5ff4a7bf
Today we have checked this issue with following builds:
X.S 4.0.9(build 12)
Monotouch sample master 3.0
Now Application does not get crash after clicking on view on simulator.
Changing the status to Verified
Issue still exists in monotouch-samples:
Open SimpleTextInput sample project
Set run target to simulator (also verified on 3rd gen iPad hardware)
Build and run in Debug mode
Tap in text field
Line 93 of SimpleTextInputView (call to `BecomeFirstResponder()`) throws:
Unable to cast object of type 'MonoTouch.UIKit.UIView' (Objective-C type: 'UIKeyboardImpl') to type 'MonoTouch.UIKit.UITextInputDelegate'.
Method: SimpleTextInput.EditableCoreTextView:set_InputDelegate (MonoTouch.UIKit.UITextInputDelegate)
Application *continues running* but keyboard does not appear and input is not allowed.
Expected result: App shouldn't throw exception. Keyboard should appear and the user should be able to enter text into the text field.
@Larry, which version of monotouch-samples did you try? This should be fixed in monotouch-samples/11e28ef88153d59364959cfc90acefab1f2c6f2d.
I thought I'd checked before reopening the bug, but now I can't repro, so I must have been working from old sources.