---
title: regionCode
framework: datadetection
role: symbol
role_heading: Instance Property
path: datadetection/datadetector/match/semanticdetails/postaladdress/regioncode
---

# regionCode

An optional string that may contain the standard ISO 3166 region code of the address.

## Declaration

```swift
let regionCode: Locale.Region?
```

## See Also

### Properties that detail parts of a postal address

- [fullAddress](datadetection/datadetector/match/semanticdetails/postaladdress/fulladdress.md)
- [street](datadetection/datadetector/match/semanticdetails/postaladdress/street.md)
- [city](datadetection/datadetector/match/semanticdetails/postaladdress/city.md)
- [state](datadetection/datadetector/match/semanticdetails/postaladdress/state.md)
- [postalCode](datadetection/datadetector/match/semanticdetails/postaladdress/postalcode.md)
- [region](datadetection/datadetector/match/semanticdetails/postaladdress/region.md)
- [label](datadetection/datadetector/match/semanticdetails/postaladdress/label.md)
