From d1599c20b34cd42e07f6177f6a65b915c91467d1 Mon Sep 17 00:00:00 2001 From: Wolfgang Muhsal Date: Thu, 8 Jun 2017 17:26:41 +0200 Subject: [PATCH] Fixed setAnimationDidStopSelector target method signature, method call delivers NSNumber instead of Bool --- TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m b/TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m index 172f0079..d509b69a 100644 --- a/TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m +++ b/TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m @@ -121,8 +121,8 @@ - (void)keyboardViewAppear:(NSString *)animationID context:(void *)context { self.keyboardAvoidingState.keyboardAnimationInProgress = true; } -- (void)keyboardViewDisappear:(NSString *)animationID finished:(BOOL)finished context:(void *)context { - if (finished) { +- (void)keyboardViewDisappear:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context { + if (finished.boolValue) { self.keyboardAvoidingState.keyboardAnimationInProgress = false; } }