<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLMonitorConfiguration/configWithMonitorName:queue:eventHandler:",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:objc(cs)CLMonitorConfiguration(cm)configWithMonitorName:queue:eventHandler:"
  },
  "title" : "configWithMonitorName:queue:eventHandler:"
}
-->

# configWithMonitorName:queue:eventHandler:

Creates a location monitor instance with the name, dispatch queue, and event handler you specify.

```
+ (CLMonitorConfiguration *) configWithMonitorName:(NSString *) name queue:(dispatch_queue_t) queue eventHandler:(void (^)(CLMonitor *monitor, CLMonitoringEvent *event)) eventHandler;
```

---

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)