From 54ba48bb124b34b838ef80d9ac473425a46ee489 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 14 Oct 2021 12:36:26 -0500 Subject: [PATCH] implemented prepareForDisplay protocol Signed-off-by: Matt Bruce --- MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m index 2b49d66..957b3f1 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m @@ -842,6 +842,11 @@ } #pragma mark - Presentation Delegate +- (void)navigationController:(UINavigationController *)navigationController prepareDisplayForViewController:(UIViewController *)viewController { + if ([self.delegateObject.presentationDelegate respondsToSelector:@selector(navigationController:prepareDisplayForViewController:)]) { + [self.delegateObject.presentationDelegate navigationController:navigationController prepareDisplayForViewController:viewController]; + } +} - (void)navigationController:(UINavigationController *)navigationController willDisplayViewController:(UIViewController *)viewController {