Skip to content

Commit

Permalink
Fixes the issue w/ user location after going to list view then back t…
Browse files Browse the repository at this point in the history
…o the map
  • Loading branch information
vegitron committed May 29, 2012
1 parent 523740f commit aff54f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SpotSeeker/ViewControllers/MapViewController.m
Expand Up @@ -209,6 +209,7 @@ - (void)viewDidLoad

if (self.current_spots.count > 0) {
self.from_list = [NSNumber numberWithBool:true];
[map_view setShowsUserLocation:YES];
[map_view setRegion:self.map_region animated: NO];

}
Expand Down

0 comments on commit aff54f3

Please sign in to comment.