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

Completion block called while view is presented when the close button is clicked. #36

Open
rojo69 opened this issue Jul 29, 2015 · 1 comment
Labels

Comments

@rojo69
Copy link

rojo69 commented Jul 29, 2015

  • (void)close:(id)sender {
    [_input resignFirstResponder];
    [self dismissViewControllerAnimated:YES completion:nil];
    [_delegate canceled];
    }

In this method the delegate should be called in the completion block, to make it possible to present new views right away.

@D-32
Copy link
Owner

D-32 commented Jul 29, 2015

That would be the correct way, yes. Thanks for pointing it out.

@D-32 D-32 added the bug label Jul 29, 2015
@D-32 D-32 self-assigned this Jul 29, 2015
@D-32 D-32 removed their assignment Oct 4, 2015
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