ios - UIScrollView doesn't scroll with autolayout (content view frame size changed programmatically) -


i have uiscrollview uiview inside (lets name contentview). frame size of contentview changes during runtime , that's main problem! if had static controls easy set scrolling, pin contentview scrollview , add 2 constraints equalwidth/equalheight of view (with low priority), doesn't work me. so, can help?

it's pretty easy fix, need give "contentview" constrains scrollview edges 0 margin...

if contentview bigger uiscrollview frame scrollview scrollable..

all need make sure last subview in content view have bottom constraint contentview.

if i'm not clear enough please tell me.


Comments