A predicate to filter fonts based on the languages they support.
- iOS 13.0+
- Mac Catalyst 13.0+
By default, the font picker shows all available fonts, regardless of the languages they support. You may prefer to offer only fonts that support certain languages. To restrict the list, set this property to an NSPredicate defining the logic the font picker should apply to the fonts' supported languages metadata.
Use language specifiers in the same format CFLocale uses to specify languages in a filter predicate. You can use
filter to construct a simple predicate that excludes fonts which don’t support any of a collection of languages you specify.