languages(forScript:)
Returns the list of languages for the specified script.
Declaration
func languages(forScript script: String) -> [String]?Parameters
- script:
The specified script.
Discussion
The value of this property is an array of BCP-47 language tags, such as "en" or "fr", that identify the languages.