Permalink
Browse files

refs #179: prefer available method to deprecation management

  • Loading branch information...
1 parent 8d11af5 commit 44a74a3ea8f5b52d16f5ef30ef8b2379ebd871c7 @incanus incanus committed Feb 4, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 MapView/Map/RMMapView.m
View
@@ -3521,10 +3521,7 @@ - (void)showAttribution:(id)sender
attributionViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl;
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Wdeprecated-declarations"
- [_viewControllerPresentingAttribution presentModalViewController:attributionViewController animated:YES];
- #pragma clang diagnostic pop
+ [_viewControllerPresentingAttribution presentViewController:attributionViewController animated:YES completion:nil];
}
}

0 comments on commit 44a74a3

Please sign in to comment.