diff --git a/iOS/Article/ImageScrollView.swift b/iOS/Article/ImageScrollView.swift index 2293e7073..b6bf4d35c 100644 --- a/iOS/Article/ImageScrollView.swift +++ b/iOS/Article/ImageScrollView.swift @@ -9,8 +9,9 @@ import UIKit @objc public protocol ImageScrollViewDelegate: UIScrollViewDelegate { - func imageScrollViewDidGestureSwipeUp(imageScrollView: ImageScrollView) - func imageScrollViewDidGestureSwipeDown(imageScrollView: ImageScrollView) + + @MainActor func imageScrollViewDidGestureSwipeUp(imageScrollView: ImageScrollView) + @MainActor func imageScrollViewDidGestureSwipeDown(imageScrollView: ImageScrollView) } open class ImageScrollView: UIScrollView {