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.