-
What’s new in Wallet and Apple Pay
Discover the latest updates to Wallet and Apple Pay. Learn how to take advantage of preauthorized payments, funds transfer, and Apple Pay Later merchandising to create great Apple Pay experiences in your app or for the web. Explore improved support for Mail, Messages, Safari, and third-party apps in Wallet Order Tracking, and find out how you can add more information to an order's transaction or receipt details. And we'll introduce you to Tap to Present ID on iPhone (or ID Verifier), a new way to accept IDs in Wallet using iPhone — no additional hardware needed.
Recursos
- Generating reader tokens for the Verifier API
- Checking IDs with the Verifier API
- Adopting the Verifier API in your iPhone app
Videos relacionados
Tech Talks
WWDC22
-
Buscar este video…
-
-
28:51 - Performing a display request to verify age
import ProximityReader // Check the current device supports mobile document reading. guard MobileDocumentReader.isSupported else { return } let reader = MobileDocumentReader() let readerSession: MobileDocumentReaderSession = try await reader.prepare() let request = MobileDriversLicenseDisplayRequest(elements: [.ageAtLeast(21)]) try await readerSession.requestDocument(request) -
30:55 - Displaying brand information during a document request
let reader = MobileDocumentReader() let identifier = try await reader.configuration.readerInstanceIdentifier let readerToken = try await WebService().fetchToken(for: identifier) let readerSession = try await reader.prepare(using: .init(readerToken)) let request = MobileDriversLicenseDisplayRequest(elements: [.ageAtLeast(21)]) try await readerSession.requestDocument(request) -
31:50 - Performing a data request
let session: MobileDocumentReaderSession = /* ... */ var request = MobileDriversLicenseDataRequest() request.retainedElements = [.givenName, .familyName, .dateOfBirth, .portrait] request.nonRetainedElements = [.address, .documentExpirationDate, .drivingPrivileges] let response = try await session.requestDocument(request) // Process document elements from document response. self.processResponse(response.documentElements)
-