---
title: addressCityAndState
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uitextcontenttype/addresscityandstate
---

# addressCityAndState

A property that defines the content in a text input area as a city name with a state name.

## Declaration

```swift
static let addressCityAndState: UITextContentType
```

## See Also

### Setting location data

- [location](uikit/uitextcontenttype/location.md)
- [fullStreetAddress](uikit/uitextcontenttype/fullstreetaddress.md)
- [streetAddressLine1](uikit/uitextcontenttype/streetaddressline1.md)
- [streetAddressLine2](uikit/uitextcontenttype/streetaddressline2.md)
- [addressCity](uikit/uitextcontenttype/addresscity.md)
- [addressState](uikit/uitextcontenttype/addressstate.md)
- [postalCode](uikit/uitextcontenttype/postalcode.md)
- [sublocality](uikit/uitextcontenttype/sublocality.md)
- [countryName](uikit/uitextcontenttype/countryname.md)
