<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMLocationEvent/init(region:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMLocationEvent(im)initWithRegion:"
  },
  "title" : "init(region:)"
}
-->

# init(region:)

Creates a new location event with the specified region.

```
init(region: CLRegion)
```

## Parameters

`region`

Region on which the event is triggered. The region object 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>.

## Return Value

An initialized instance representing the location event.

---

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)