2016-03-21 34 views

回答

0

下面的代碼工作正常:

PKContact *contact = [[PKContact alloc] init]; 
    contact.emailAddress = @""; 
    contact.phoneNumber = [CNPhoneNumber phoneNumberWithStringValue:@""]; 
    paymentRequest.billingContact = contact; 
    paymentRequest.requiredShippingAddressFields = (PKAddressFieldPhone | PKAddressFieldEmail); 
相關問題