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

Dropping Placemark Freezes MapView #10

Open
sysnoise opened this issue Dec 5, 2013 · 2 comments
Open

Dropping Placemark Freezes MapView #10

sysnoise opened this issue Dec 5, 2013 · 2 comments

Comments

@sysnoise
Copy link

sysnoise commented Dec 5, 2013

When a placemark is added, the view becomes unresponsive.

@veerreef
Copy link

in - (void)dismissSearchControllerWhileStayingActive {

add

[self.searchDisplayController setActive:NO];

  • (void)dismissSearchControllerWhileStayingActive {
    // Animate out the table view.
    [self.searchDisplayController setActive:NO];
    NSTimeInterval animationDuration = 0.3;
    [UIView beginAnimations:nil context:NULL];
    [UIView setAnimationDuration:animationDuration];
    self.searchDisplayController.searchResultsTableView.alpha = 0.0;
    [UIView commitAnimations];

    [self.searchDisplayController.searchBar setShowsCancelButton:NO animated:YES];
    [self.searchDisplayController.searchBar resignFirstResponder];
    }

I noticed this pb on IOS 7

@NinjaShark
Copy link

Thank you, I ran into this issue as well. Adding [self.searchDisplayController setActive:NO];
worked great!

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

3 participants