From cb457258bc98109950988b8001e6bcb422094d0f Mon Sep 17 00:00:00 2001 From: hackiftekhar Date: Tue, 20 Aug 2024 12:44:49 +0530 Subject: [PATCH] - Fixed a proxy callback --- .../UIView+IQKeyboardToolbarObjc.swift | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/IQKeyboardManagerSwift/IQKeyboardToolbar/IQKeyboardExtension/UIView+IQKeyboardToolbarObjc.swift b/IQKeyboardManagerSwift/IQKeyboardToolbar/IQKeyboardExtension/UIView+IQKeyboardToolbarObjc.swift index cfee30fe..bfd54535 100644 --- a/IQKeyboardManagerSwift/IQKeyboardToolbar/IQKeyboardExtension/UIView+IQKeyboardToolbarObjc.swift +++ b/IQKeyboardManagerSwift/IQKeyboardToolbar/IQKeyboardExtension/UIView+IQKeyboardToolbarObjc.swift @@ -114,9 +114,10 @@ import UIKit nextConfiguration: IQBarButtonItemConfiguration? = nil, rightConfiguration: IQBarButtonItemConfiguration?, title: String?, titleAccessibilityLabel: String? = nil) { - iq.addToolbar(target: target, previousConfiguration: previousConfiguration, - nextConfiguration: nextConfiguration, rightConfiguration: rightConfiguration, - title: title, titleAccessibilityLabel: titleAccessibilityLabel) + iq.addPreviousNextRight(target: target, previousConfiguration: previousConfiguration, + nextConfiguration: nextConfiguration, + rightConfiguration: rightConfiguration, + title: title, titleAccessibilityLabel: titleAccessibilityLabel) } func iq_addPreviousNextDone(target: AnyObject?, previousAction: Selector, @@ -226,9 +227,10 @@ import UIKit nextConfiguration: IQBarButtonItemConfiguration? = nil, rightConfiguration: IQBarButtonItemConfiguration?, title: String?, titleAccessibilityLabel: String? = nil) { - iq.addToolbar(target: target, previousConfiguration: previousConfiguration, - nextConfiguration: nextConfiguration, rightConfiguration: rightConfiguration, - title: title, titleAccessibilityLabel: titleAccessibilityLabel) + iq.addPreviousNextRight(target: target, previousConfiguration: previousConfiguration, + nextConfiguration: nextConfiguration, + rightConfiguration: rightConfiguration, + title: title, titleAccessibilityLabel: titleAccessibilityLabel) } func iq_addPreviousNextDone(target: AnyObject?, previousAction: Selector, nextAction: Selector,