Giter Club home page Giter Club logo

Comments (8)

mohpor avatar mohpor commented on June 23, 2024

Second it. It's a much needed feature.

from apaddressbook.

lopezjurip avatar lopezjurip commented on June 23, 2024

+1

from apaddressbook.

eriknelson avatar eriknelson commented on June 23, 2024

This should probably at least be mentioned in the documentation. +1

from apaddressbook.

belkevich avatar belkevich commented on June 23, 2024

Check out version 0.1.10

from apaddressbook.

bgd011 avatar bgd011 commented on June 23, 2024

Apple's comments for "ABAddressBookRequestAccessWithCompletion" say
"...
// The user will only be prompted the first time access is requested; any subsequent calls
// to ABAddressBookCreateWithOptions will use the existing permissions.
..."
So I don't think any subsequent calls to it will do anything. I have tested the new requestAccess method and it does not seem to do anything.

from apaddressbook.

belkevich avatar belkevich commented on June 23, 2024

It runs block with existing permissions after first call.
Sorry, looks like I don't understand your question. What exactly do you mean?

from apaddressbook.

bgd011 avatar bgd011 commented on June 23, 2024

I just meant that I tested requestAccess method vs just loadContacts and I am not sure of the benefits of first checking for access and calling requestAccess if it is not granted.
Both methods call ABAddressBookRequestAccessWithCompletion and this method will behave the same.
So calling loadContacts pretty much does the same as requestAccess plus more. Maybe some documentation that explains when to use the requestAccess method, because I did not find a use case.

from apaddressbook.

belkevich avatar belkevich commented on June 23, 2024

I'm agree with you. It's hard to find a use case)) But community want this method, so we add it))

from apaddressbook.

Related Issues (20)

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.