Skip to content

Commit a1d1a4d

Browse files
committed
Added the available for internal helper method
1 parent 6fcaa47 commit a1d1a4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SDWebImageSwiftUI/Classes/SwiftUICompatibility.swift

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class PlatformAppearView: PlatformView {
6666

6767
#endif
6868

69+
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
6970
extension View {
7071
/// Used UIKit/AppKit behavior to detect the SwiftUI view's visibility.
7172
/// This hack is because of SwiftUI 1.0/2.0 buggy behavior. The built-in `onAppear` and `onDisappear` is so massive on some cases. Where UIKit/AppKit is solid.

0 commit comments

Comments
 (0)