How do you access a phone number from your user's contacts in swift?
问题 Here is my code for getting the name of a contact, how would I go about getting their phone number? func createAddressBook() -> Bool { if self.addressBook != nil { return true } var err : Unmanaged<CFError>? = nil let addressBook : ABAddressBook? = ABAddressBookCreateWithOptions(nil, &err).takeRetainedValue() if addressBook == nil { println(err) self.addressBook = nil return false } self.addressBook = addressBook getContactNames() return true } func getContactNames() { if !self