ios: uiscrollview and uiview autolayout -


i have uiscrollview , uiview. when uitextview touched, uitextview size large size , uiscrollview size small size , there problem because of autolayout.

how can set constraints of uiscrollview , uiview?

may try it:
below constraint:
uiscrollview top, left, right equal self.view top, left, right
uiscrollview bottom equal uiview bottom
uiview left, right, bottom equal self.view left, right, bottom uiview height equal 200(you set it)

ok, when uitextview touched, set uiview height constraint want(maybe 300)

i think works!


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -