1. You must set the contentSize property to the size of the scrollable content. This specifies the size of the scrollable area.
  2. You must also add a view or views that are displayed and scrolled by the scroll view. These view(s) provide the displayed content.

source

Advertisements