AirshipLocaleManagerProtocol

@objc(UALocaleManagerProtocol)
public protocol AirshipLocaleManagerProtocol : Sendable

Airship locale manager.

  • Resets the current locale.

    Declaration

    Swift

    @objc
    func clearLocale()
  • The current locale used by Airship. Defaults to autoupdatingCurrent or the user preferred lanaguage, depending on AirshipConfig.useUserPreferredLocale.

    Declaration

    Swift

    @objc
    var currentLocale: Locale { get set }