ios - 判断UITableView上下滑动的方向,不使用scrollview的delegate。
PHP中文网
PHP中文网 2017-04-17 11:23:28
0
1
662

rt
不想用scrollview的delegate方法去根据坐标判断,有没有手势或者offset这些方法可以直接获取到tableview的上下滑动方向?

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
迷茫

The sliding direction is only available when you are moving. You must use these callbacks. You can get the panGestureRecognizer of scrollview for use, and you can directly handle gesture events

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template