Contents

reconcilePreferredLanguages()

Reconciles the set of locally available asset packs with the current preferred languages.

Declaration

func reconcilePreferredLanguages() async throws

Mentioned in

Discussion

This method downloads any missing localized asset packs, waits for those downloads to finish, and removes any unneeded ones. If you’ve overridden the preferred languages by setting resolvedLanguage, then this method will respect that. It won’t remove any localized asset packs that you’ve downloaded manually.

See Also

Inspecting language support