localizedAssetPacks(for:)
Returns the subset of asset packs in this manifest that are available to download and that best match the specified language.
Declaration
func localizedAssetPacks(for language: Locale.Language) -> Set<AssetPack>Parameters
- language:
The language.
Mentioned in
Return Value
The localized asset packs.
Discussion
Depending on which languages are available, the returned asset packs’ respective languages may not exactly match the specified language.