fix
杨锴
2024-08-23 adc2db9bb29e7f316c46b6de679db1522ffc9cc8
Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/UIKitExtensions/IQUIScrollView+Additions.swift
@@ -56,11 +56,16 @@
     */
    var ignoreScrollingAdjustment: Bool {
        get {
            return objc_getAssociatedObject(base, &AssociatedKeys.ignoreScrollingAdjustment) as? Bool ?? false
            if let base = base {
                return objc_getAssociatedObject(base, &AssociatedKeys.ignoreScrollingAdjustment) as? Bool ?? false
            }
            return false
        }
        set(newValue) {
            objc_setAssociatedObject(base, &AssociatedKeys.ignoreScrollingAdjustment,
                                     newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
            if let base = base {
                objc_setAssociatedObject(base, &AssociatedKeys.ignoreScrollingAdjustment,
                                         newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
            }
        }
    }
@@ -70,11 +75,16 @@
     */
    var ignoreContentInsetAdjustment: Bool {
        get {
            return objc_getAssociatedObject(base, &AssociatedKeys.ignoreContentInsetAdjustment) as? Bool ?? false
            if let base = base {
                return objc_getAssociatedObject(base, &AssociatedKeys.ignoreContentInsetAdjustment) as? Bool ?? false
            }
            return false
        }
        set(newValue) {
            objc_setAssociatedObject(base, &AssociatedKeys.ignoreContentInsetAdjustment,
                                     newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
            if let base = base {
                objc_setAssociatedObject(base, &AssociatedKeys.ignoreContentInsetAdjustment,
                                         newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
            }
        }
    }
@@ -83,11 +93,16 @@
     */
    var restoreContentOffset: Bool {
        get {
            return objc_getAssociatedObject(base, &AssociatedKeys.restoreContentOffset) as? Bool ?? false
            if let base = base {
                return objc_getAssociatedObject(base, &AssociatedKeys.restoreContentOffset) as? Bool ?? false
            }
            return false
        }
        set(newValue) {
            objc_setAssociatedObject(base, &AssociatedKeys.restoreContentOffset,
                                     newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
            if let base = base {
                objc_setAssociatedObject(base, &AssociatedKeys.restoreContentOffset,
                                         newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
            }
        }
    }
}