From abc99a14acb9f6cab57bb236756980d1b5d067cc Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Thu, 15 Oct 2020 17:03:10 -0400 Subject: [PATCH] protect --- MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertOperation.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertOperation.m b/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertOperation.m index f276c82..bab7707 100644 --- a/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertOperation.m +++ b/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertOperation.m @@ -61,7 +61,9 @@ if (self.isExecuting && !self.isCancelled && !self.isPaused) { [self updateDismissTimer]; UIView *topAlertView = [[MVMCoreObject sharedInstance].globalTopAlertDelegate getTopAlertView]; - [topAlertView updateTopAlertWith:topAlertObject]; + if ([topAlertView respondsToSelector:@selector(updateTopAlertWith:)]) { + [topAlertView updateTopAlertWith:topAlertObject]; + } } }