Powered by Appetize.io.
UIScrollView sublass with ability to restrict scrolling area
contentSize can be changed, but not the origin of scrolling area. This simple and universal solution allows to restrict scrolling area with
Change scrolling area with new
restrictionArea property. Reset restriction with passing