title: Disable image recognition for UIImageView on iOS 14 with VoiceOver
body: <p>I have a UIImageView as the background for a view. User interaction is disabled. isAccessibilityElement is set to NO. This is verified by using debug view hierarchy when the app is running on device.</p>
  <p>And yet when I tap on the view that has that as the background is describes all the controls on it and then describes the image using automatic image recognition. Everything I've found online says this is a new iOS 14 feature and that it's great, but says nothing about how I can turn it off.</p>
  <p>I even tried setting my own description string to at least try to override the image recognition to no avail. So - IS there a way to turn it off for a specific UIImageView(or even for the app overall) and if so how?</p>
  <p>*** update ****</p>
  <p>So I've confirmed this is specific to iOS 14. I have the following code in <code>viewDidLoad</code>:</p>
  <pre><code>    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@&quot;blueSky.jpg&quot;]];
      imageView.isAccessibilityElement = YES;
      imageView.accessibilityLabel = @&quot;I am not a description&quot;;
      CGPoint origin = imageView.frame.origin;
      origin.y = 50;
      origin.x = 50;
      
      CGRect imageFrame = imageView.frame;
      imageFrame.origin = origin;
      imageView.frame = imageFrame;
      self.view.isAccessibilityElement = NO;
      
      [self.view addSubview:imageView];
  </code></pre>
  <p>Where blueSky is, well, an image of blue sky. It's not using the asset catalogue. When I tap on the image with VoiceOver enabled in iOS 13 it reads &quot;I am not a description&quot;. When I tap on it on an iOS 14.1 device it reads &quot;I am not a description&quot;, then pauses for half a second, says &quot;image&quot;, then proceeds to describe it &quot;blue sky, cloudy&quot;. It's that last part that I cannot for the life of me figure out how to eliminate!</p>