Giter Club home page Giter Club logo

Comments (4)

SilenceLove avatar SilenceLove commented on July 28, 2024

.gifPhoto里面包含的静态图片。目前还不支持再次过滤,后续会考虑加上

from hxphpicker.

cosmoyoung avatar cosmoyoung commented on July 28, 2024

哈哈可以,不过gifPhoto包括静态图和gif有点奇怪。
既然定义为数组,不应该是[.gifPhoto, .photo]才表示静态图和gif吗。

from hxphpicker.

SilenceLove avatar SilenceLove commented on July 28, 2024

gifPhoto包含了.photo其实就是加上一个gif标示和播放gif,只显示静态图片的时候gif也会显示出来,只是不播放了。

from hxphpicker.

SilenceLove avatar SilenceLove commented on July 28, 2024
    /// 获取所有相册时调用
    /// - 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

代理已加过滤相册/照片的回调

from hxphpicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.