Class UIScrollView

    • Constructor Detail

      • UIScrollView

        public UIScrollView()
      • UIScrollView

        protected UIScrollView​(NSObject.Handle h,
                               long handle)
      • UIScrollView

        public UIScrollView​(CGRect frame)
      • UIScrollView

        public UIScrollView​(NSCoder decoder)
    • Method Detail

      • setContentSize

        public void setContentSize​(CGSize v)
      • setContentInset

        public void setContentInset​(UIEdgeInsets v)
      • getAdjustedContentInset

        public UIEdgeInsets getAdjustedContentInset()
        Since:
        Available in iOS 11.0 and later.
      • getContentLayoutGuide

        public UILayoutGuide getContentLayoutGuide()
        Since:
        Available in iOS 11.0 and later.
      • getFrameLayoutGuide

        public UILayoutGuide getFrameLayoutGuide()
        Since:
        Available in iOS 11.0 and later.
      • isDirectionalLockEnabled

        public boolean isDirectionalLockEnabled()
      • setDirectionalLockEnabled

        public void setDirectionalLockEnabled​(boolean v)
      • bounces

        public boolean bounces()
      • setBounces

        public void setBounces​(boolean v)
      • alwaysBounceVertical

        public boolean alwaysBounceVertical()
      • setAlwaysBounceVertical

        public void setAlwaysBounceVertical​(boolean v)
      • alwaysBounceHorizontal

        public boolean alwaysBounceHorizontal()
      • setAlwaysBounceHorizontal

        public void setAlwaysBounceHorizontal​(boolean v)
      • isPagingEnabled

        public boolean isPagingEnabled()
      • setPagingEnabled

        public void setPagingEnabled​(boolean v)
      • isScrollEnabled

        public boolean isScrollEnabled()
      • setScrollEnabled

        public void setScrollEnabled​(boolean v)
      • showsHorizontalScrollIndicator

        public boolean showsHorizontalScrollIndicator()
      • setShowsHorizontalScrollIndicator

        public void setShowsHorizontalScrollIndicator​(boolean v)
      • showsVerticalScrollIndicator

        public boolean showsVerticalScrollIndicator()
      • setShowsVerticalScrollIndicator

        public void setShowsVerticalScrollIndicator​(boolean v)
      • getScrollIndicatorInsets

        public UIEdgeInsets getScrollIndicatorInsets()
      • setScrollIndicatorInsets

        public void setScrollIndicatorInsets​(UIEdgeInsets v)
      • getDecelerationRate

        public double getDecelerationRate()
        Since:
        Available in iOS 3.0 and later.
      • setDecelerationRate

        public void setDecelerationRate​(double v)
        Since:
        Available in iOS 3.0 and later.
      • isTracking

        public boolean isTracking()
      • isDragging

        public boolean isDragging()
      • isDecelerating

        public boolean isDecelerating()
      • delaysContentTouches

        public boolean delaysContentTouches()
      • setDelaysContentTouches

        public void setDelaysContentTouches​(boolean v)
      • canCancelContentTouches

        public boolean canCancelContentTouches()
      • setCanCancelContentTouches

        public void setCanCancelContentTouches​(boolean v)
      • getMinimumZoomScale

        public double getMinimumZoomScale()
      • setMinimumZoomScale

        public void setMinimumZoomScale​(double v)
      • getMaximumZoomScale

        public double getMaximumZoomScale()
      • setMaximumZoomScale

        public void setMaximumZoomScale​(double v)
      • getZoomScale

        public double getZoomScale()
        Since:
        Available in iOS 3.0 and later.
      • setZoomScale

        public void setZoomScale​(double v)
        Since:
        Available in iOS 3.0 and later.
      • bouncesZoom

        public boolean bouncesZoom()
      • setBouncesZoom

        public void setBouncesZoom​(boolean v)
      • isZooming

        public boolean isZooming()
      • isZoomBouncing

        public boolean isZoomBouncing()
      • scrollsToTop

        public boolean scrollsToTop()
      • setScrollsToTop

        public void setScrollsToTop​(boolean v)
      • getPanGestureRecognizer

        public UIPanGestureRecognizer getPanGestureRecognizer()
        Since:
        Available in iOS 5.0 and later.
      • getPinchGestureRecognizer

        public UIPinchGestureRecognizer getPinchGestureRecognizer()
        Since:
        Available in iOS 5.0 and later.
      • getDirectionalPressGestureRecognizer

        public UIGestureRecognizer getDirectionalPressGestureRecognizer()
      • getRefreshControl

        public UIRefreshControl getRefreshControl()
        Since:
        Available in iOS 10.0 and later.
      • setRefreshControl

        public void setRefreshControl​(UIRefreshControl v)
        Since:
        Available in iOS 10.0 and later.
      • getNormalDecelerationRate

        public static double getNormalDecelerationRate()
        Since:
        Available in iOS 3.0 and later.
      • getFastDecelerationRate

        public static double getFastDecelerationRate()
        Since:
        Available in iOS 3.0 and later.
      • adjustedContentInsetDidChange

        public void adjustedContentInsetDidChange()
        Since:
        Available in iOS 11.0 and later.
      • setContentOffset

        public void setContentOffset​(CGPoint contentOffset,
                                     boolean animated)
      • scrollRectToVisible

        public void scrollRectToVisible​(CGRect rect,
                                        boolean animated)
      • flashScrollIndicators

        public void flashScrollIndicators()
      • touchesShouldCancelInContentView

        public boolean touchesShouldCancelInContentView​(UIView view)
      • setZoomScale

        public void setZoomScale​(double scale,
                                 boolean animated)
        Since:
        Available in iOS 3.0 and later.
      • zoomToRect

        public void zoomToRect​(CGRect rect,
                               boolean animated)
        Since:
        Available in iOS 3.0 and later.