Skip to content

Commit 62f332f

Browse files
authored
Update PlatformView extension availability
1 parent 960f720 commit 62f332f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SDWebImageSwiftUI/Classes/ImageViewWrapper.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ public class ProgressIndicatorWrapper : PlatformView {
122122
addSubview(wrapped)
123123
}
124124
}
125+
126+
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
125127
extension PlatformView {
126128
/// Adds constraints to this `UIView` instances `superview` object to make sure this always has the same size as the superview.
127129
/// Please note that this has no effect if its `superview` is `nil` – add this `UIView` instance as a subview before calling this.

0 commit comments

Comments
 (0)