---
title: countryCode
framework: contacts
role: symbol
role_heading: Instance Property
path: contacts/cncontactsuserdefaults/countrycode
---

# countryCode

An ISO country code.

## Declaration

```swift
var countryCode: String { get }
```

## Discussion

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.

## See Also

### Getting the Default Values

- [sortOrder](contacts/cncontactsuserdefaults/sortorder.md)
