summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLCalloutView.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-05-16 11:23:45 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-04-25 00:18:57 -0700
commit7cc3928a19ffc40e2835264f1349dc7a07fd4017 (patch)
tree38cfa365bc77196be45787cbff7be555b4994031 /platform/ios/src/MGLCalloutView.h
parent9d3269eaa36d929de6191e60d7b332919ae02cab (diff)
downloadqtlocation-mapboxgl-7cc3928a19ffc40e2835264f1349dc7a07fd4017.tar.gz
[ios] Made annotation callouts accessible
Via nfarina/calloutview#84, SMCalloutView is now accessible. Activating a focused annotation now shows its callout view and focuses its left accessory view, if present, or the title view. There is a “return to map” accessibility element for dismissing the callout view and restoring focus to the annotation on the map.
Diffstat (limited to 'platform/ios/src/MGLCalloutView.h')
-rw-r--r--platform/ios/src/MGLCalloutView.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/platform/ios/src/MGLCalloutView.h b/platform/ios/src/MGLCalloutView.h
index 59f52adb6d..641976dfee 100644
--- a/platform/ios/src/MGLCalloutView.h
+++ b/platform/ios/src/MGLCalloutView.h
@@ -67,6 +67,11 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)calloutViewWillAppear:(UIView<MGLCalloutView> *)calloutView;
+/**
+ Called after the callout view appears on screen, or after the appearance animation is complete.
+ */
+- (void)calloutViewDidAppear:(UIView<MGLCalloutView> *)calloutView;
+
@end
-NS_ASSUME_NONNULL_END \ No newline at end of file
+NS_ASSUME_NONNULL_END