Skip to content
This repository has been archived by the owner on May 9, 2018. It is now read-only.

Commit

Permalink
refs #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
Expand Up @@ -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];
}
}

Expand Down

0 comments on commit 44a74a3

Please sign in to comment.