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

Use a cancel block #4

Open
jaimeat1 opened this issue Jul 4, 2014 · 1 comment
Open

Use a cancel block #4

jaimeat1 opened this issue Jul 4, 2014 · 1 comment

Comments

@jaimeat1
Copy link

jaimeat1 commented Jul 4, 2014

Thank you for this smart pod, it saves a lot of work and it's really easy to use!

As a future improvement, please consider add a cancel block as a new parameter in the method requestAuthenticationInView:andCompletion:, to be executed when user cancels action sheet.

Thanks!

@zrxq
Copy link

zrxq commented Jul 21, 2014

@jaimeat1 Meanwhile, you can work around this limitation using requestAuthenticationWithSelectCallback:andCompletion: (optionally utilising [PFTwitterAccountSelectDialog showSelectDialogInView:withItems:cancelButtonTitle:confirmBlock:cancelBlock:]), see https://github.com/prix-fixe/PFTwitterSignOn/blob/master/PFTwitterSignOn/PFTwitterSignOn.m#L54 for example.

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

No branches or pull requests

2 participants