Storyboard Horizontal scrollview is not scrolling

OnedayOneday GBMember ✭✭

Hi All

I've been try for a while to get horizontal scroll working on the attached storyboard. I have placed the constraints I have learned from this forum and other sources, but it still does not work.

I would appreciate some tips on where I have gone wrong



  • LandLuLandLu Member, Xamarin Team Xamurai

    If you want the scroll view to be scrolled you have to add a content whose size is larger than the scroll view's.
    You only added the height and width constraints to your content view but its position in the scrollview can't be determined.
    So you also need to add the leading, top, trailing and bottom constraints then the border between content view and scroll view has been fixed.
    However, I know it may be a little difficult to declare by words. I helped you modify the storyboard here.
    You could see the attachment for the effect.

Sign In or Register to comment.