Coder Social home page Coder Social logo

kpkcontacts's People

Contributors

pavankataria avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zenangst

kpkcontacts's Issues

If user deny's access to contacts

Hey, thanks for the resource, really made life easier dealing with the iOS contacts framework :)

My issue is that the user is prompted to grant access to their contact's only once.
IF user later revokes access
THEN this resource has no method to check and alert them to grant access to their device's contacts
IF user does not grant access (I haven't tested this scenario) i'm assuming it won't alert them again next time they load the view attempting to access their contacts.

What I end up with is an empty tableview like below.
img_3121

Find contacts method crashes

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.