Giter Club home page Giter Club logo

Comments (5)

SilenceLove avatar SilenceLove commented on July 28, 2024

// 转场动画初始的 UIImage
transitionalImage: fromView?.image
这个image的大小是否和视频大小一致?

from hxphpicker.

xiaoxiaotang avatar xiaoxiaotang commented on July 28, 2024

fromView?.image 这个没有是nil

from hxphpicker.

SilenceLove avatar SilenceLove commented on July 28, 2024

demo上有网络视频浏览的,可以看看

from hxphpicker.

xiaoxiaotang avatar xiaoxiaotang commented on July 28, 2024

好比这样,demo也是只看到中间一半,就是没有处理photoAsset,直接[PhotoAsset.init(networkVideoAsset: .init(videoURL: url))], 网络视频封面还没有加载出来的时候,查看大小就不对了
1642745260879

from hxphpicker.

SilenceLove avatar SilenceLove commented on July 28, 2024

image
初始化的时候把视频size也传进去吧,先这样解决

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.