An ISO country code.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- watchOS 2.0+
Framework
- Contacts
Declaration
var countryCode: String { get }
Discussion
ISO is the default country code for phone numbers. This is determined by the device’s SIM card or the operating system’s configured language.