chone
V2EX  ›  问与答

ios滚动条的算法?

  •  
  •   chone · Jul 15, 2011 · 7161 views
    This topic created in 5451 days ago, the information mentioned may be changed or developed.
    用户拖动完成后的惯性运动是怎么来确定的,有没有什么资料?
    3 replies    1970-01-01 08:00:00 +08:00
    Kai
        1
    Kai  
       Jul 15, 2011
    UIScrollViewDelegate -

    scrollViewWillBeginDecelerating:
    scrollViewDidEndDecelerating:
    daqing
        2
    daqing  
       Jul 15, 2011
    是不是平方反比规律?物体下落是越来越快,滚动条是越来越慢。
    keakon
        3
    keakon  
       Jul 15, 2011
    @daqing 阻尼运动
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2986 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 14:24 · PVG 22:24 · LAX 07:24 · JFK 10:24
    ♥ Do have faith in what you're doing.