i have scrollview defined autolayout : has contentview, in there's elements. scrollview has constraints other views set it's size, , 4 constraints contentview (up, down, left, right, each constant = 0). contentview has defined size, same size scrollview.
i want scrollview scroll , bounce (i overrided scrollviewdidscroll method), problem scrollview not scrolling if contentview has same size (which logic, since there's no content scroll, want bounce).
how can make scrollview scrolling ?
try setting scrollview
:
scrollview.alwaysbouncehorizontal = true scrollview.alwaysbouncevertical = true
or in interface builder, make sure you've checked options:
Comments
Post a Comment