Why Apple Pay ignores dankort on iOS 16?
func testNetworks() {
if #available(iOS 15.1, *) {
let request = PKPaymentRequest()
let collection: [PKPaymentNetwork] = [.dankort]
XCTAssertEqual(collection.count, 1)
request.supportedNetworks = collection
if #available(iOS 16.0, *) {
XCTAssertEqual(request.supportedNetworks.count, 0) // 🤷♂️
} else {
XCTAssertEqual(request.supportedNetworks.count, 1)
}
}
}