summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLCalloutView.h
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@gmail.com>2018-04-19 15:47:58 -0400
committerGitHub <noreply@github.com>2018-04-19 15:47:58 -0400
commit2e225939621733359e3254b00b5853afa650f4fd (patch)
treec71f4a52d3bd3ca2d25e38452c90e15dd0464197 /platform/ios/src/MGLCalloutView.h
parentb414c607c3369641fca23c79dfaff231a66a89cf (diff)
downloadqtlocation-mapboxgl-2e225939621733359e3254b00b5853afa650f4fd.tar.gz
[ios] Mark -presentCalloutFromRect:inView:constrainedToView:animated: unavailable (#11738)
Diffstat (limited to 'platform/ios/src/MGLCalloutView.h')
-rw-r--r--platform/ios/src/MGLCalloutView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLCalloutView.h b/platform/ios/src/MGLCalloutView.h
index 7e7cf2d02e..689b159fd7 100644
--- a/platform/ios/src/MGLCalloutView.h
+++ b/platform/ios/src/MGLCalloutView.h
@@ -39,7 +39,7 @@ NS_ASSUME_NONNULL_BEGIN
Presents a callout view by adding it to `view` and pointing at the given rect
of `view`’s bounds. Constrains the callout to the bounds of the given view.
*/
-- (void)presentCalloutFromRect:(CGRect)rect inView:(UIView *)view constrainedToView:(UIView *)constrainedView animated:(BOOL)animated;
+- (void)presentCalloutFromRect:(CGRect)rect inView:(UIView *)view constrainedToView:(UIView *)constrainedView animated:(BOOL)animated __attribute__((unavailable("Use -presentCalloutFromRect:inView:constrainedToRect:animated: instead.")));
/**