objective c - How to make IOS ask to grant permissions to access user accounts -
[self.acastore requestaccesstoaccountswithtype:twittertype withcompletionhandler:^(bool granted, nserror *error) { self.bpermissiontoaccessstoregranted=granted; [self vcontinue]; // handle error state here wish }]; the result of granted false. want users get asked first.
the possible cause iphone has no twitter accounts. in case want display twitter login page user can sign up.
[self.acastore requestaccesstoaccountswithtype:twittertype withcompletionhandler:^(bool granted, nserror *error) { if(granted) { [self vcontinue]; } else { // handle error state here wish } }]; do want this?
Comments
Post a Comment