From 356d8064f294fed13083c74c318a534847328a34 Mon Sep 17 00:00:00 2001 From: Kevin G Christiano Date: Thu, 2 Jul 2020 15:25:12 -0400 Subject: [PATCH] allow view to be tappable --- MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.m | 1 + 1 file changed, 1 insertion(+) diff --git a/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.m b/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.m index 3d15652c..ed9f5271 100644 --- a/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.m +++ b/MVMCoreUI/TopAlert/MVMCoreUITopAlertExpandableView.m @@ -374,6 +374,7 @@ weakSelf.shortViewHeight.active = NO; } completion:^(BOOL finished) { [weakSelf.viewToLayout layoutIfNeeded]; + weakSelf.accessibilityElements = @[weakSelf.shortView.label]; UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, nil); [MVMCoreDispatchUtility performBlockInBackground:^{ // Must notify animation delegate when animating finished.