---
title: "zoomFocusChanged(zoomType:toFrame:in:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/uiaccessibility/zoomfocuschanged(zoomtype:toframe:in:)"
---

# zoomFocusChanged(zoomType:toFrame:in:)

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

## Declaration

```swift
@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.

## See Also

### Convenience functions

- [focusedElement(using:)](uikit/uiaccessibility/focusedelement(using:).md)
- [hearingDevicePairedEar](uikit/uiaccessibility/hearingdevicepairedear.md)
- [UIAccessibility.HearingDeviceEar](uikit/uiaccessibility/hearingdeviceear.md)
- [registerGestureConflictWithZoom()](uikit/uiaccessibility/registergestureconflictwithzoom().md)
- [requestGuidedAccessSession(enabled:completionHandler:)](uikit/uiaccessibility/requestguidedaccesssession(enabled:completionhandler:).md)
