From 6b2ee27c5d002cec02c5f22e92e73a9f8c7f92f9 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Tue, 21 Aug 2018 14:35:18 -0400 Subject: [PATCH] fixed panning when not interacting. always use animation for direction Add missing protocol call --- .../MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m index b01a990..7f00738 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m @@ -880,6 +880,14 @@ } } +- (nullable id )navigationController:(UINavigationController *)navigationController interactionControllerForAnimationController:(id)animationController { + if (self.delegate && [self.delegate respondsToSelector:@selector(navigationController:interactionControllerForAnimationController:)]) { + return [self.delegate navigationController:navigationController interactionControllerForAnimationController:animationController]; + } else { + return nil; + } +} + - (void)viewController:(UIViewController *)presentingViewController willPresentViewController:(UIViewController *)presentedViewController { if ([self.delegate respondsToSelector:@selector(viewController:willPresentViewController:)]) {