<!--
{
  "availability" : [
    "iOS: 13.0.0 - 18.0.0",
    "iPadOS: 13.0.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFontPickerViewController/Configuration-swift.class/filterPredicate(forFilteredLanguages:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIFontPickerViewControllerConfiguration(cm)filterPredicateForFilteredLanguages:"
  },
  "title" : "filterPredicate(forFilteredLanguages:)"
}
-->

# filterPredicate(forFilteredLanguages:)

Creates a font picker filter based on language support.

```
class func filterPredicate(forFilteredLanguages filteredLanguages: [String]) -> NSPredicate?
```

## Parameters

`filteredLanguages`

Identifiers for the languages the font picker should include.

## Return Value

A predicate that is <doc://com.apple.documentation/documentation/Swift/true> when at least one of the provided strings is present.

## Discussion

Use this method to construct a predicate for [`filteredLanguagesPredicate`](/documentation/UIKit/UIFontPickerViewController/Configuration-swift.class/filteredLanguagesPredicate) that restricts the font picker’s list to only include fonts that support the filtered languages. Provide language identifiers in the same format <doc://com.apple.documentation/documentation/CoreFoundation/CFLocale> uses.

---

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)