Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find contacts method crashes #3

Open
otymartin opened this issue Sep 17, 2016 · 3 comments
Open

Find contacts method crashes #3

otymartin opened this issue Sep 17, 2016 · 3 comments
Assignees
Labels

Comments

@otymartin
Copy link

This crashes with libc++abi.dylib: terminating with uncaught exception of type NSException

 dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) {
            if let contacts = self.kpkContactStore.findContactsWithValidNumbersOnly() {
                self.contacts = contacts
                dispatch_async(dispatch_get_main_queue()) {
                    self.tableView.reloadData()
                }
            }
        }

It crashes when I run it in view did Load. FYI the view controller I load it in is for an xib.

@pavankataria
Copy link
Owner

Hey, I'll check this out!

@pavankataria
Copy link
Owner

Could you tell me which operating system you're running on?

@pavankataria pavankataria self-assigned this Sep 26, 2016
@pavankataria
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants