V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
jseanj
V2EX  ›  程序员

关于 CABasicAnimation 的问题

  •  
  •   jseanj · Feb 2, 2015 · 2267 views
    This topic created in 4109 days ago, the information mentioned may be changed or developed.
    如果设置了repeatCount = 10,在每一次repeat结束时是否有回调?
    4 replies    2015-02-03 09:15:58 +08:00
    keithellis
        1
    keithellis  
       Feb 2, 2015
    不会
    keithellis
        2
    keithellis  
       Feb 2, 2015
    等到动画重复10遍完毕后再调用 animationDidStop
    jseanj
        3
    jseanj  
    OP
       Feb 3, 2015
    @keithellis 如果我想在每次repeat结束时回调,有啥方法吗?
    keithellis
        4
    keithellis  
       Feb 3, 2015
    repeatCount = 1;animationDidStop 里再去 resume。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1269 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 16:50 · PVG 00:50 · LAX 09:50 · JFK 12:50
    ♥ Do have faith in what you're doing.