<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIAccessibility/zoomFocusChanged(zoomType:toFrame:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@F@UIAccessibilityZoomFocusChanged"
  },
  "title" : "zoomFocusChanged(zoomType:toFrame:in:)"
}
-->

# zoomFocusChanged(zoomType:toFrame:in:)

Notifies the system when the app’s focus changes to a new location.

```
@MainActor static func zoomFocusChanged(zoomType type: UIAccessibility.ZoomType, toFrame frame: CGRect, in view: UIView)
```

## Parameters

`type`

A `UIKit Functions` constant that identifies the type of Zoom.

`frame`

The frame that’s currently zoomed, in screen coordinates.

`view`

The view that contains the zoomed frame.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)