CFBundleCopyPreferredLocalizationsFromArray(_:)
Given an array of possible localizations, returns the one or more of them that CFBundle would use in the current application context.
Declaration
func CFBundleCopyPreferredLocalizationsFromArray(_ locArray: CFArray!) -> CFArray!Parameters
- locArray:
An array of possible localizations.
Return Value
A subset of locArray that CFBundle would use in the current application context. Ownership follows the The Create Rule.
Discussion
You can obtain locArray using the CFBundleCopyBundleLocalizations(_:) function.