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.
我需要让 UIScrollView 识别滑动,但问题是视图已缩放。所以它不会因为反弹而工作。有没有办法检测用户何时将其滚动到极限?
阅读滚动视图委托:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIScrollViewDelegate_Protocol/Reference/UIScrollViewDelegate.html
ScrollViewDidScroll 将检测用户何时滚动到最大值。