diff --git a/LPAlbum/Others/Extensions.swift b/LPAlbum/Others/Extensions.swift index e150cee..b469219 100644 --- a/LPAlbum/Others/Extensions.swift +++ b/LPAlbum/Others/Extensions.swift @@ -129,7 +129,7 @@ extension CGSize { var keyHitThstEdgeInsets = "HitTestEdgeInsets" extension UIControl { - public var lp_hitEdgeInsets: UIEdgeInsets? { + var lp_hitEdgeInsets: UIEdgeInsets? { get { let value = objc_getAssociatedObject(self, &keyHitThstEdgeInsets) as? NSValue return value.map { $0.uiEdgeInsetsValue }