Function

CFLocaleCopyPreferredLanguages()

Returns the array of canonicalized language IDs that the user prefers.

Declaration

func CFLocaleCopyPreferredLanguages() -> CFArray!

Return Value

The array of canonicalized CFString language IDs that the current user prefers. Ownership follows the The Create Rule.