How can I get the coordinates on imageView when using Voice Over?

If I touch the picture on the screen when using voice over, how can I get the coordinates with one touch? (My app uses this coordinate to get the color information of the touched pixel.) If I make imageView accessible, I can get only the coordinates of the representative of the imageView.

Is there a way to turn off Voice Over in the iOS program?

Replies

I had not received any reply to this question, so I contacted Apple Developer Technical Support. As a result, it is possible to get the coordinates of that point with one touch on imageView by adding the following one line.


imageView.accessibilityTraits = UIAccessibilityTraitAllowsDirectInteraction;