Documentation Archive Developer
Search

PassKit Changes for Swift

PassKit

Modified PKContact
Declaration
From
class PKContact : NSObject {
    var name: NSPersonNameComponents?
    var postalAddress: CNPostalAddress?
    var emailAddress: String?
    var phoneNumber: CNPhoneNumber?
}
To
class PKContact : NSObject {
    var name: NSPersonNameComponents?
    var postalAddress: CNPostalAddress?
    var emailAddress: String?
    var phoneNumber: CNPhoneNumber?
    var supplementarySubLocality: String?
}