Bug 16492 - UIAccessibilityIdentification Protocol missing
Summary: UIAccessibilityIdentification Protocol missing
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 7.0.4.x
Hardware: PC Mac OS
: High enhancement
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-11-28 05:55 UTC by pperera
Modified: 2014-06-02 14:15 UTC (History)
7 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:
VERIFIED FIXED

Description pperera 2013-11-28 05:55:11 UTC
As the summary suggests this is currently missing from the latest Alpha release.

https://developer.apple.com/library/ios/documentation/uikit/reference/UIAccessibilityIdentification_Protocol/Introduction/Introduction.html

a work around that I can implement until the fix reaches Alpha would be great
Comment 1 Prashant manu 2013-11-29 05:29:52 UTC
I have checked this issue with following builds:

All Mac
X.S 4.2.1(build 1)
X.iOS 7.0.4.209
Mono 3.2.5

I am also not seeing UIAccessibilityIdentification in Assembly Browser of XamarinStudio.
Comment 2 Rolf Bjarne Kvinge [MSFT] 2013-12-02 11:05:56 UTC
Can you explain why and how you'd use UIAccessibilityIdentification?
Comment 3 pperera 2013-12-02 15:04:49 UTC
Attempting to use it much like what is specified in Apple documentation I linked to.

Provide a means of tagging  certain views such that an automated testing suite such as Ranorex can be programmed in a robust way to find the relevant views it needs to verify pre/during/post test.
Comment 4 Rolf Bjarne Kvinge [MSFT] 2013-12-05 17:40:28 UTC
Can you try just adding a property responding to the selector in question and see if that works:

[Export ("accessibilityIdentifier")]
string AccessibilityIdentifier { get { return "myCustomIdentifier"; } }
Comment 5 James Clancey 2014-04-11 02:42:29 UTC
Adding [Export ("accessibilityIdentifier")]
string AccessibilityIdentifier { get { return "myCustomIdentifier"; } }

does work. Is there any way we can get this added into the bindings so we don't need to subclass?
Comment 6 Rolf Bjarne Kvinge [MSFT] 2014-04-11 20:40:09 UTC
<Clancey> It turns out that is extremely useful for calabash/testcloud
Comment 7 Will Johansson 2014-04-22 14:50:07 UTC
+1 for adding bindings for calabash/testcloud, including iOS APIs.
Comment 8 Rolf Bjarne Kvinge [MSFT] 2014-05-13 08:09:23 UTC
Fixed.

It will be included in Xamarin.iOS 7.4.

monotouch/master: 93002fcda7463068a42e07c94370258af7bfc75a
Comment 9 Rolf Bjarne Kvinge [MSFT] 2014-05-13 08:10:42 UTC
Wrong hash, the right one is:

monotouch/master: c128ad4f459d90226d8d2f0a3604829452a8972a
Comment 10 Mohit Kheterpal 2014-06-02 14:15:08 UTC
I have checked this issue and now we are getting  UIAccessibilityIdentification protocol in Assembly browser as shown in screencast :  UIAccessibilityIdentification

Hence closing this issue

Environment info:
=== Xamarin Studio ===

Version 5.1 (build 307)
Installation UUID: 449f40dd-b3f1-4028-9a6b-cca0d1a2307d
Runtime:
	Mono 3.4.0 ((no/c3fc3ba)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 304000204

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: 7.2.99.420 (Enterprise Edition)
Hash: 5aa4bec
Branch: 
Build date: 2014-06-02 00:04:26-0400

=== Xamarin.Android ===

Version: 4.14.0 (Enterprise Edition)
Android SDK: /Users/360logicaxamarinmacmini/Desktop/android-sdk-macosx_Róbert_à
	Supported Android versions:
		1.6   (API level 4)
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

=== Xamarin.Mac ===

Xamarin.Mac: 1.8.0.7

=== Build Information ===

Release ID: 501000307
Git revision: def1bd7785c4bc27f13d0b67d860f5e6700d0dc0
Build date: 2014-05-30 14:10:52-04
Xamarin addins: 11878769601a89ead8775b80241fd6a91ba5ad9e

=== Operating System ===

Mac OS X 10.8.4
Darwin 360Logicas-Mac-mini.local 12.4.0 Darwin Kernel Version 12.4.0
    Sun Mar 10 18:01:10 PDT 2013
    root:xnu-2050.24.6~1/RELEASE_X86_64 x86_64