Skip to content

Commit

Permalink
Fix: replace deprecated method call
Browse files Browse the repository at this point in the history
  • Loading branch information
hboon committed May 9, 2014
1 parent 04b1df2 commit 7836c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guessIdentity.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The MIT License (MIT)
NSMutableDictionary* results = [NSMutableDictionary dictionary];
BOOL matched = NO;

ABAddressBookRef addressBook = ABAddressBookCreate();
ABAddressBookRef addressBook = ABAddressBookCreateWithOptions(NULL, nil);
NSArray* addressBookEntries = (NSArray*)ABAddressBookCopyArrayOfAllPeople(addressBook);
for (int i=0; i<[addressBookEntries count]; ++i) {
ABRecordRef each = addressBookEntries[i];
Expand Down

0 comments on commit 7836c34

Please sign in to comment.