Contents

isoCountryCode

The ISO country code for the user’s cellular service provider.

Declaration

var isoCountryCode: String? { get }

Discussion

This property uses the ISO 3166-1 country code representation.

The value for this property is nil if any of the following apply:

  • The device is in airplane mode.

  • There is no SIM card in the device.

  • The device is outside of cellular service range.

See Also

Getting Information About the Cellular Service Provider