Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有水平分页和大约 50 页的 UIScrollView ......有没有办法检测用户滚动的速度(以秒为单位)?(就像他们松开手指的那一刻一样,UIScrollView 以当前的滚动速度从一页转到下一页需要多少秒。
嗯……
我想我可能是错的,但请你检查一下这个属性SCROLLVIEW。
SCROLLVIEW
@property(nonatomic) float decelerationRate NS_AVAILABLE_IOS(3_0);