UIScrollView
extension UIScrollView
Extension on UIScrollView to add view tracking related methods
-
Updates value of minimum observable change in scroll offset for view tracking
The default value of throttle is 1.0 which indicates callbacks will be triggered only if there is a change of 1 point in scroll view content offset.
Note
This method be called only after calling
trackView()on the scroll viewDeclaration
Swift
public func setThrottle(_ throttle: CGFloat)Parameters
throttlevalue to be set for minimum observable change in scroll offset
View on GitHub
Install in Dash
UIScrollView Extension Reference