One Logo Pool Ball
DataDetection · IOS API REFERENCE

DataDetector.Match.SemanticDetails.PostalAddress

struct · iOS 26.0+ · SDK 27.1

struct PostalAddress

The value returned for `Match.postalAddress` .fullAddress contains the full string of the address. May contain more than just the sum of the individual components. .street may contain the street component of the address. .city may contain the city component of the address. .state may contain the state component of the address. .postalCode may contain the zip code component of the address. .region may contain the region component of the address, for example United States, France,... .regionCode may contain the ISO region code of the address. .label may contain a value suitable to populate a label when creating a Contact.

Members (8)

get · iOS 26.0+

fullAddress

TypeScript
get fullAddress(): string
Swift declaration
let fullAddress: String
get · iOS 26.0+

postalCode

TypeScript
get postalCode(): (string) | null
Swift declaration
let postalCode: String?
get · iOS 26.0+

regionCode

TypeScript
get regionCode(): (_Foundation_Locale_Region) | null
Swift declaration
let regionCode: Locale.Region?
get · iOS 26.0+

city

TypeScript
get city(): (string) | null
Swift declaration
let city: String?
get · iOS 26.0+

label

TypeScript
get label(): (string) | null
Swift declaration
let label: String?
get · iOS 26.0+

state

TypeScript
get state(): (string) | null
Swift declaration
let state: String?
get · iOS 26.0+

region

TypeScript
get region(): (string) | null
Swift declaration
let region: String?
get · iOS 26.0+

street

TypeScript
get street(): (string) | null
Swift declaration
let street: String?

Skipped declarations

No declarations were skipped in this snapshot.

All DataDetection types →