forked from mirrors/linphone-iphone
[CNContact] CNContact clean fastAddressBook
This commit is contained in:
parent
c910192da5
commit
87020ea918
1 changed files with 0 additions and 8 deletions
|
|
@ -28,9 +28,6 @@
|
|||
CNContactStore* store;
|
||||
}
|
||||
|
||||
// static void sync_address_book(ABAddressBookRef addressBook, CFDictionaryRef
|
||||
// info, void *context);
|
||||
|
||||
+ (UIImage *)imageForContact:(Contact *)contact {
|
||||
@synchronized(LinphoneManager.instance.fastAddressBook.addressBookMap) {
|
||||
UIImage *retImage = [contact avatar];
|
||||
|
|
@ -238,11 +235,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
void sync_address_book(ABAddressBookRef addressBook, CFDictionaryRef info, void *context) {
|
||||
FastAddressBook *fastAddressBook = (__bridge FastAddressBook *)context;
|
||||
[fastAddressBook reloadAllContacts];
|
||||
}
|
||||
|
||||
#pragma mark - Tools
|
||||
|
||||
+ (NSString *)localizedLabel:(NSString *)label {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue