Skip to content

Commit

Permalink
refs route-me#179: prefer available method to deprecation management
Browse files Browse the repository at this point in the history
  • Loading branch information
incanus committed Feb 4, 2013
1 parent 8d11af5 commit 44a74a3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions MapView/Map/RMMapView.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3521,10 +3521,7 @@ - (void)showAttribution:(id)sender


attributionViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl; attributionViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl;


#pragma clang diagnostic push [_viewControllerPresentingAttribution presentViewController:attributionViewController animated:YES completion:nil];
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
[_viewControllerPresentingAttribution presentModalViewController:attributionViewController animated:YES];
#pragma clang diagnostic pop
} }
} }


Expand Down

0 comments on commit 44a74a3

Please sign in to comment.