ios - Autolayout is sizing objects in a UIScrollView incorrectly -


i'm trying create layout using interface builder, size classes , uiscrollview.

the uiscrollview meant full screen, 0,0,0,0 left, top, right, bottom.

however when set constraints of objects, (labels, textfields, etc) 20 away right size, doesn't appear correctly in either interface builder or simulator.

the trailing constraint incorrect

i've tried several things fix this, putting objects in view container, making new storyboard file etc , nothing has worked.

this happens when try , force uitextfield have correct width, can see autolayout wants be

that gray uitextview should 20 away right side

hopefully can figure out going on, don't want resort springs , struts.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -