AnimatedImageViewWrapper

@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
public class AnimatedImageViewWrapper : PlatformView

Use wrapper to solve tne UIImageView/NSImageView frame size become image size issue (SwiftUI’s Bug)

  • Undocumented

    Declaration

    Swift

    override public func draw(_ rect: CGRect)
  • Undocumented

    Declaration

    Swift

    public override func layoutSubviews()
  • Undocumented

    Declaration

    Swift

    public override var intrinsicContentSize: CGSize { get }
  • Undocumented

    Declaration

    Swift

    public override init(frame frameRect: CGRect)
  • Undocumented

    Declaration

    Swift

    public required init?(coder: NSCoder)
  • Undocumented

    Declaration

    Swift

    public override func layout()