Reputation: 1
I am upgrading framework from AddressBook to Contact but I am having issue related to displaying it. I am using iOS 9 and trying in simulator.
The error I am facing is :-
[CNUI ERROR] Contact picker delayed appearance timed out - YES
It is working fine on device.
Anybody have any idea?
Thanks in advance!
Upvotes: 0
Views: 650
Reputation: 1
It seems like the thread issue,I advise you to refresh you UI in main thread,there is a sample like:
dispatch_async(dispatch_get_main_queue(), ^{
CNContactViewController *vc = [CNContactViewController viewControllerForContact:contact];
vc.displayedPropertyKeys =@[CNContactGivenNameKey,CNContactPhoneNumbersKey,CNContactFamilyNameKey,CNContactInstantMessageAddressesKey,CNContactEmailAddressesKey,CNContactDatesKey,CNContactUrlAddressesKey,CNContactBirthdayKey, CNContactImageDataKey];
[self presentViewController:vc animated:YES completion:nil];
});
Upvotes: 0
Reputation: 169
Same for me after going from Xcode-beta 7 to Xcode 7. I did a Reset Content and Settings... and the problem is gone.
Upvotes: 0