iOS Question disable vertical scrolling (scrollview)

Discussion in 'iOS Questions' started by le_toubib, Jun 9, 2015.

  1. le_toubib

    le_toubib Active Member Licensed User

    i only need a horizontal scrollview
    so i added this line in the scrollchanged event :

    it works , but the scroll actually happen and quicly return to zero , so the net result is a tremor , is there a better way to do it ?
  2. narek adonts

    narek adonts Well-Known Member Licensed User

    to disable vertical scrolling you need to set the scrollview.ContentHeight=scrollview.Height
    Erel and le_toubib like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice