CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Jan 2015 |
Maintained by Chegg MBP.
SMScrollView is a subclass of UIScrollView with extended functionality
If you are not using CocoaPods, then just copy files from Pod/Classes to your project.
delegate's viewForZoomingInScrollView: in the center of its own boundaries.
zoomScale == minimumZoomScale, it zooms-in the view to the tapped point and to the scale defined by by the maximumZoomScale. Otherwise, when zoomScale > minimumZoomScale, it zooms-out to a scale defined by the minimumZoomScale. The double-tap gesture is available through the doubleTapGestureRecognizer property to disable or adjust the gesture behaviour.
fitOnSizeChange == YES, then its content is rescaled to fit its new size, up to the scale of 1.0, such that content is never stretched.
fitOnSizeChange == NO, then the content point that was displayed in the center of its bounds before the size change, is kept in center after the size change. However, if stickToBounds property was set to YES and the scroll-view was scrolled to one of its boundaries before the size change, then it is kept at these boundaries instead of keeping the center point in center.
SMScrollView is available under the MIT license. See the LICENSE file for more info.