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.
The documentation for sendAction:to:from:forEvent: on UIApplication says that you can use a null target in order to send an action to the first responder. The Xamarin bindings throw a NullArgumentException if you try to do this.
For example, in ObjectiveC you can write code like this:
[[UIApplication sharedApplication] sendAction:@selector(someSelector) to:nil from:nil forEvent:nil];
In Xamarin.iOS this code would throw:
UIApplication.SharedApplication.SendAction(Selector.GetHandle("someSelector"), null, null, null);
This fix is planned to be released with Xamarin.iOS 7.0.6, which should hit the beta channel before December 23rd.
Could you please provide me Test Project or some steps so that I can verify this issue?
Unit tests were added, no need for more tests.