Skip to content

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

Open

Description

@rojo69
  • (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.

Activity

  1. D-32 commented on Jul 29, 2015

    @D-32
    Owner

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

  2. self-assigned this
    on Jul 29, 2015
  3. removed their assignment
    on Oct 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions