SPGooglePlacesAutocomplete icon indicating copy to clipboard operation
SPGooglePlacesAutocomplete copied to clipboard

Dropping Placemark Freezes MapView

Open sysnoise opened this issue 11 years ago • 2 comments

When a placemark is added, the view becomes unresponsive.

sysnoise avatar Dec 05 '13 16:12 sysnoise

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

veerreef avatar Jan 24 '14 10:01 veerreef

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

NinjaShark avatar Mar 16 '14 02:03 NinjaShark