<!--
{
  "availability" : [
    "iOS: 4.1.0 - 13.0.0",
    "iPadOS: 4.1.0 - 13.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.6.0 - 10.15.0",
    "tvOS: 9.0.0 - 13.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 2.0.0 - 6.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/CTFontManagerUnregisterFontsForURLs(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@F@CTFontManagerUnregisterFontsForURLs"
  },
  "title" : "CTFontManagerUnregisterFontsForURLs(_:_:_:)"
}
-->

# CTFontManagerUnregisterFontsForURLs(_:_:_:)

Unregisters fonts from the specified array of font URLs with the Font Manager. Unregistered fonts are no longer discoverable through font descriptor matching.

```
func CTFontManagerUnregisterFontsForURLs(_ fontURLs: CFArray, _ scope: CTFontManagerScope, _ errors: UnsafeMutablePointer<Unmanaged<CFArray>?>?) -> Bool
```

## Parameters

`fontURLs`

Array of font URLs.

`scope`

Scope constant defining the availability and lifetime of the registration. See [`CTFontManagerScope`](/documentation/CoreText/CTFontManagerScope) for values to pass for this parameter.

`errors`

Pointer to an array of CFError objects which, in case of failed registration, contain error information. Each error contains a CFArray of font URLs corresponding to [`kCTFontManagerErrorFontURLsKey`](/documentation/CoreText/kCTFontManagerErrorFontURLsKey). These URLs represent the font files that caused the error and were not successfully registered. The array must be released by the caller. Can be `NULL`.

## Return Value

Returns `true` if unregistration of all font URLs was successful, otherwise `false`.

---

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)