-
Notifications
You must be signed in to change notification settings - Fork 4
UIImageView
duzexu edited this page Jun 2, 2021
·
2 revisions
Sets an image to imageView with PHAsset
.
public func setAsset(_ asset: PHAsset,
size: CGSize? = nil,
placeholder: UIImage? = nil,
progress: ((Double) -> Void)? = nil,
completionHandler: ((UIImage?) -> Void)? = nil)
- asset: Asset to fetch image.
- size: Size of fetch image.
- placeholder: A placeholder to show while retrieving the image from asset.
- progress: Progress of fetching request.
- completionHandler: Called after fetch result.
Sets an image to imageView with video url.
public func setVideoUrlAsset(_ url: URL)
- url: Video url.
Generated at 2022-03-28T09:06:08+0000 using swift-doc 1.0.0-rc.1.
Types
- ADAddPhotoCell
- ADAddPhotoCell.Key
- ADAlbumListCell
- ADAlbumListCell.Key
- ADAlbumListController
- ADAlbumListDataSource
- ADAlbumModel
- ADAlbumSelectOptions
- ADAlbumType
- ADAsset
- ADAssetBrowserController
- ADAssetBrowserDataSource
- ADAssetBrowserOptions
- ADAssetListDataSource
- ADAssetModel
- ADAssetModel.MediaType
- ADAssetModel.SelectStatus
- ADAssetResult
- ADAssetSelectOptions
- ADBrowserToolBarCell
- ADBrowserToolBarCell.Key
- ADCameraCell
- ADCameraCell.Key
- ADClipInfo
- ADConstraintParams
- ADImageEditController
- ADImageEditInfo
- ADImageEditTools
- ADImageSource
- ADImageStickerContentView
- ADImageStickerDataSource
- ADImageStickerDataSource.StickerItem
- ADImageStickerDataSource.StickerSection
- ADInteractStrategy
- ADInteractType
- ADInteractZIndex
- ADLocale
- ADLocale.LocaleKey
- ADPhotoKitConfig
- ADPhotoKitConfiguration
- ADPhotoKitConfiguration.ThumbnailControllerLayout
- ADPhotoKitUI
- ADPhotoManager
- ADPhotoManager.AssetResultType
- ADPhotoSelectParams
- ADPickerStyle
- ADRotation
- ADSelectAssetModel
- ADStickerContentView
- ADStickerInteractView
- ADTextSticker
- ADTextSticker.Style
- ADThumbnailListCell
- ADThumbnailListCell.Appearance
- ADThumbnailListCell.Key
- ADThumbnailListCell.State
- ADThumbnailViewController
- ADVideoSource
Protocols
- ADAlbumListCellConfigurable
- ADAlbumListNavBarConfigurable
- ADAlertConfigurable
- ADAssetBrowsable
- ADBrowserCellConfigurable
- ADBrowserNavBarConfigurable
- ADBrowserToolBarConfigurable
- ADDataSourceReloadable
- ADImageBrowserCellConfigurable
- ADImageClipConfigurable
- ADImageEditTool
- ADImageEditToolCodable
- ADImageStickerSelectConfigurable
- ADProgressConfigurable
- ADProgressHUDConfigurable
- ADSourceImageEditable
- ADSourceImageModify
- ADTextStickerEditConfigurable
- ADThumbnailCellConfigurable
- ADThumbnailNavBarConfigurable
- ADThumbnailToolBarConfigurable
- ADToolConfigable
- ADToolInteractable
- ADVideoBrowserCellConfigurable
Global Typealiases
- ADAlbumListCellable
- ADAlbumListNavBarable
- ADBrowserCellable
- ADBrowserNavBarable
- ADBrowserToolBarable
- ADClipingInfo
- ADImageBrowserCellable
- ADImageClipable
- ADImageStickerSelectable
- ADProgressHUDable
- ADProgressableable
- ADTextStickerColor
- ADTextStickerEditable
- ADThumbnailCellable
- ADThumbnailNavBarable
- ADThumbnailToolBarable
- ADVideoBrowserCellable