<!--
{
  "availability" : [
    "iOS: 9.0.0 - 11.0.0",
    "iPadOS: 9.0.0 - 11.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMLocationEvent/updateRegion(_:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMLocationEvent(im)updateRegion:completionHandler:"
  },
  "title" : "updateRegion(_:completionHandler:)"
}
-->

# updateRegion(_:completionHandler:)

Changes the region associated with this event.

```
func updateRegion(_ region: CLRegion, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)
```

## Parameters

`region`

New region on which the event is triggered. Must have at least one of <doc://com.apple.documentation/documentation/CoreLocation/CLRegion/notifyOnEntry> or <doc://com.apple.documentation/documentation/CoreLocation/CLRegion/notifyOnExit> set to <doc://com.apple.documentation/documentation/Swift/true>.

`completion`

The block executed when the region update request has been processed.

- error: `nil` on success; otherwise, error object indicating the reason for failure.

---

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)