This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 74
可以只显示gif吗? #32
Comments
|
哈哈可以,不过gifPhoto包括静态图和gif有点奇怪。 |
|
SilenceLove
added a commit
that referenced
this issue
Feb 19, 2022
/// 获取所有相册时调用
/// - Parameter
/// - pickerController: 对应的 PhotoPickerController
/// - collection: 对应的每个 PHAssetCollection 对象
/// - Returns: 是否添加到列表显示
func pickerController(
_ pickerController: PhotoPickerController,
didFetchAssetCollections collection: PHAssetCollection
) -> Bool
/// 获取相册集合里的 PHAsset 时调用
/// - Parameter
/// - pickerController: 对应的 PhotoPickerController
/// - asset: 对应的每个 PHAsset 对象
/// - Returns: 是否添加到列表显示
func pickerController(
_ pickerController: PhotoPickerController,
didFetchAssets asset: PHAsset
) -> Bool 代理已加过滤相册/照片的回调 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
设置config.selectOptions = [.gifPhoto],还是会显示静态图片。
设置config.selectOptions = [.video],只显示video。
The text was updated successfully, but these errors were encountered: