chone
V2EX  ›  问与答

ios滚动条的算法?

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

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