<!--
{
  "availability" : [
    "iOS: 13.0.0 - 27.0.0",
    "iPadOS: 13.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "macOS: 12.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/MXMetricManager/remove(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MXMetricManager(im)removeSubscriber:"
  },
  "title" : "remove(_:)"
}
-->

# remove(_:)

Unsubscribes from daily reports of app metrics.

```
func remove(_ subscriber: any MXMetricManagerSubscriber)
```

## Parameters

`subscriber`

The object that receives daily metrics reports. Passing an object that is not currently subscribed does nothing.

## Discussion

> Warning:
> If you call this function from a method that deallocates the object, your app might crash.

---

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)