APAddressBook
APAddressBook copied to clipboard
Crash Report in APThread.m
Hi , I can not use Your Classes in my Project :( every time my Application Crashs in "APThread.m" in "- (void)performBlock:(void (^)())block" line 43 block () Crash message is EXC_BAD_ACCESS(code=2 , .... ) and some one code is equal to 1 : EXC_BAD_ACCESS(code=1 , .... )
// ****** my code is : APAddressBook *addressBook = [[APAddressBook alloc] init];
[addressBook loadContacts:^(NSArray <APContact *> *contacts, NSError *error) {
// someAction
}];
actually application will crash every time that I use addressBook with one 'Block' ! Thanks
Hi,
I think you should try to store addressBook
variable to some property. Also, check the Example
in this repo. It should works fine. If not, let me know.
Yes it is Correct ;) I stored some new Field in AddressBook ;)
On Jun 8, 2016, at 4:38 PM, Alexey Belkevich [email protected] wrote:
Hi, I think you should try to store addressBook variable to some property. Also, check the Example in this repo. It should works fine. If not, let me know.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Alterplay/APAddressBook/issues/127#issuecomment-224569915, or mute the thread https://github.com/notifications/unsubscribe/APYHoe-EG6EmWdCsN9Me6GCfUy2ffRPwks5qJrDIgaJpZM4IwOr8.
Do you try 'Example' app in this repo? If not please, try it. Also, could you provide the screenshot of stack trace of the error?
26 июня 2016 г., 8:14 +0300, Ali [email protected], писал:
Yes it is Correct ;) I stored some new Field in AddressBook ;)
On Jun 8, 2016, at 4:38 PM, Alexey [email protected]:
Hi, I think you should try to store addressBook variable to some property. Also, check the Example in this repo. It should works fine. If not, let me know.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Alterplay/APAddressBook/issues/127#issuecomment-224569915, or mute the threadhttps://github.com/notifications/unsubscribe/APYHoe-EG6EmWdCsN9Me6GCfUy2ffRPwks5qJrDIgaJpZM4IwOr8.
— You are receiving this because you commented. Reply to this email directly,view it on GitHub(https://github.com/Alterplay/APAddressBook/issues/127#issuecomment-228584787), ormute the thread(https://github.com/notifications/unsubscribe/ABObNdZ8Mrv000hu-ONcPVFsmPVgM_Lxks5qPgqfgaJpZM4IwOr8).