UIStackView

extension UIStackView
  • Load images with given URL’s to UIImageView’s in the stack view. The URL index from the array will match the UIImageView from the stack view.

    Declaration

    Swift

    public func loadImages(with imageURLs: [URL])
  • Cancel image loading tasks and set the nil to each image in UIImageView from the stack view. The isHidden property of UIImageView will be false.

    Declaration

    Swift

    public func cancelImagesLoading()