Contents

canonicalLocaleIdentifier(from:)

Returns the canonical identifier for a given locale identification string.

Declaration

class func canonicalLocaleIdentifier(from string: String) -> String

Parameters

  • string:

    A locale identification string.

Return Value

The canonical identifier for an the locale identified by string.

See Also

Converting Between Identifiers