Uploading Photo - admiral-team/admiralui-ios GitHub Wiki

Class

The component that presents background image with loader for uploading and downloading tasks that contains photos.


Declaration

public final class UploadImageView: UIView, AnyAppThemable

Overview

The component displays sent and received messages containing photos.

Configure a UploadImageView with loading state

let uploadImageView = UploadImageView()
uploadDocumentView.state = .loading
uploadDocumentView.trackProgressStyle = .default
uploadDocumentView.image = UIImage()

Configure a UploadImageView with default state

let uploadImageView = UploadImageView()
uploadDocumentView.state = .default
uploadDocumentView.trackProgressStyle = .default
uploadDocumentView.image = UIImage()

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.