i'm trying center view inside uiscrollview using interface builder only. labels seems working well.
but when try same uiview, i'm having constraints conflicts.
the conflicts make sense, if delete width/height constraints uiview extends entire superview, , if delete top/lead/trail/bottom constraints, uiview correctly centers itself, ambiguous width/height warning.
my question be, how can uiview centered same uilabel?.
for future reference:
but key thing set different contenthugging priority, autolayout work out conflicts:
Comments
Post a Comment