Animate scrolling of UIScrollView with CoreAnimation

后端 未结 4 488
醉酒成梦
醉酒成梦 2021-02-07 09:24

Sorry for a big question, real question are bold in bottom, now some explanation.

I\'m use CoreAnimation in my project for animate some objects moving l

4条回答
  •  清酒与你
    2021-02-07 10:25

    I don't think so that you can animate the point with CoreAnimation.

    But you can try setContentOffset:animated: thats the method you are searching for?

    You can transform only following properties of UIView

    • frame
    • bounds
    • center
    • transform
    • alpha
    • backgroundColor
    • contentStretch

    more Information of the CoreAnimation about animation checkout the Apple Documentation

提交回复
热议问题