A type that contains the document elements from a successful photo ID data request.
Members (12)
get · iOS 26.0+
ageAtLeastElements
TypeScript
get ageAtLeastElements(): Record<number, boolean>
Swift declaration
let ageAtLeastElements: [Int : Bool]
A dictionary of values that indicate whether the document holder is at least the specified age.
The key represents an age in years and the value is a Boolean value that indicates whether the
document holder is at least that age.
get · iOS 26.0+
dateOfBirth
TypeScript
get dateOfBirth(): (_Foundation_DateComponents) | null
Swift declaration
let dateOfBirth: DateComponents?
The date of birth of the photo ID holder.
get · iOS 26.0+
portraitData
TypeScript
get portraitData(): (ArrayBuffer) | null
Swift declaration
let portraitData: Data?
The portrait data of the photo ID holder on record with the issuer.
get · iOS 26.0+
documentNumber
TypeScript
get documentNumber(): (string) | null
Swift declaration
let documentNumber: String?
The document's number, as defined by the document's issuing authority.
get · iOS 26.0+
nameComponents
TypeScript
get nameComponents(): (_Foundation_PersonNameComponents) | null
Swift declaration
var nameComponents: PersonNameComponents? { get }
The photo ID holder's name components.
get · iOS 26.0+
issuingAuthority
TypeScript
get issuingAuthority(): (MobilePhotoIDDataRequest_Response_DocumentElements_IssuingAuthority) | null
Swift declaration
let issuingAuthority: MobilePhotoIDDataRequest.Response.DocumentElements.IssuingAuthority?
The state or government that issued the identity document.
get · iOS 26.0+
documentIssueDate
TypeScript
get documentIssueDate(): (_Foundation_DateComponents) | null
Swift declaration
let documentIssueDate: DateComponents?
The document's issue date.
This is usually the issue date of the corresponding physical document, if applicable.
get · iOS 26.0+
documentExpirationDate
TypeScript
get documentExpirationDate(): (_Foundation_DateComponents) | null
Swift declaration
let documentExpirationDate: DateComponents?
The document's expiration date.
This is usually the expiration date of the corresponding physical document, if applicable.
get · iOS 26.0+
age
TypeScript
get age(): (number) | null
Swift declaration
let age: Int?
The photo ID holder's age in years.
get · iOS 26.0+
sex
TypeScript
get sex(): (MobilePhotoIDDataRequest_Response_DocumentElements_Sex) | null
Swift declaration
let sex: MobilePhotoIDDataRequest.Response.DocumentElements.Sex?
The photo ID holder's sex.
get · iOS 27.0+
name
TypeScript
get name(): (MobileDocumentHolderName) | null
Swift declaration
let name: MobileDocumentHolderName?
The photo ID holder's name.
get · iOS 26.0+
address
TypeScript
get address(): (_Contacts_CNPostalAddress) | null
Swift declaration
var address: CNPostalAddress? { get }
The photo ID holder's address on record with the issuer.