I am trying to create a CNPostalAddress with some lines in Objective-C. I have an address, city, state, zip code and country. I tried the code below, but it does not work. Thank you for your precious time.
CNPostalAddress *postalAddr = [[CNPostalAddress alloc] init]; postalAddr.street = [NSString stringWithFormat:@"%@ %@",street1,street2];
ios objective-c ios9 cnpostaladdress
SRI
source share