V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
jseanj
V2EX  ›  程序员

关于 CABasicAnimation 的问题

  •  
  •   jseanj · 2015 年 2 月 2 日 · 2225 次点击
    这是一个创建于 4083 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如果设置了repeatCount = 10,在每一次repeat结束时是否有回调?
    4 条回复    2015-02-03 09:15:58 +08:00
    keithellis
        1
    keithellis  
       2015 年 2 月 2 日
    不会
    keithellis
        2
    keithellis  
       2015 年 2 月 2 日
    等到动画重复10遍完毕后再调用 animationDidStop
    jseanj
        3
    jseanj  
    OP
       2015 年 2 月 3 日
    @keithellis 如果我想在每次repeat结束时回调,有啥方法吗?
    keithellis
        4
    keithellis  
       2015 年 2 月 3 日
    repeatCount = 1;animationDidStop 里再去 resume。
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5528 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 06:01 · PVG 14:01 · LAX 23:01 · JFK 02:01
    ♥ Do have faith in what you're doing.