Update PlatformView extension availability

This commit is contained in:
David Robles 2020-07-21 14:48:21 -07:00 committed by GitHub
parent 960f7205d6
commit 62f332f711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ public class ProgressIndicatorWrapper : PlatformView {
addSubview(wrapped)
}
}
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
extension PlatformView {
/// Adds constraints to this `UIView` instances `superview` object to make sure this always has the same size as the superview.
/// Please note that this has no effect if its `superview` is `nil` add this `UIView` instance as a subview before calling this.