Bug 12121 - Accessibility: UIAccessibility traits property is set as internal virtual method
Summary: Accessibility: UIAccessibility traits property is set as internal virtual method
Alias: None
Product: iOS
Classification: Xamarin
Component: Pre-release ()
Version: 6.2.x
Hardware: PC Mac OS
: --- normal
Target Milestone: 6.2.5
Assignee: Sebastien Pouliot
Depends on:
Reported: 2013-05-06 12:44 UTC by GouriKumari
Modified: 2013-05-21 13:51 UTC (History)
3 users (show)

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:

Comment 1 Sebastien Pouliot 2013-05-09 19:17:54 UTC
The fix from #11965 makes it hard to get both an "easy & cute" API and one you can override (at least where the override would always be called from ObjC).

Got a sample (or test case) where I can see how it's used ?
Comment 3 Sebastien Pouliot 2013-05-14 11:16:13 UTC
I removed the "old" enum code, it made it hard/hacky to override AccessibilityTraits properly.

We now [1] match the enum values with the [Field] constants (with unit tests to ensure this stays up to date). That allow us to have a direct, overrideable, AccessibilityTraits property.

[1] a0665293f18c1efa8645961941fb9c73aba30a43

PJ, you need this into 6.2.6 (6.2.5 branhc) right ?
Comment 4 PJ 2013-05-14 18:41:52 UTC
Yeah, this will make the initial Accessibility offering better, although we'd be dealing with a mismatch between beta and stable.

I'd say we do want this change, and we should cherry-pick it onto master-3.0 for the next 6.3.x release.