---
title: "endAccessing(identifier:)"
framework: Core ML
role: symbol
role_heading: Type Method
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, visionOS 1.0+]
path: "coreml/mlmodelcollection/endaccessing(identifier:)"
---

# endAccessing(identifier:)

Terminates access to a model collection.

## Declaration

```swift
class func endAccessing(identifier: String) async throws -> Bool
```

## Parameters

- `identifier`: The name of the model collection.

## Discussion

Discussion Use this method when your app no longer needs access to a model collection.
