uiscrollview - Autolayout constraints not being applied iOS -


i making app uiscrollview uibuttons in along uilabels. i'm trying way outlined here on apeth.com referenced on question. implementation not set contentsize or use contentview scrollview should adjust size of it's subviews.

the problem uibuttons , uilabels seem not have constraints applied. had bunch uibuttons , uilabels fit on storyboard see them so. however, appear when run app. constraints should work @ runtime, seems using storyboard rough layout.

uiviews bunched @ end of scrollview in storyboard

and how looks on 5s

uiviews bunched @ end of scrollview on device

the uiscrollview constraints superview 0 0 uiscrollview 0 0

the subviews of uiscrollview follows

subviews - center vertical

16-firstbutton-4-firstlabel-16-secondbutton-4-secondlabel-etc...-16-lastbutton-4-lastlabel-16

edit: followed suggestion in comment , added label button make simpler , set contentview 728. now, have problem of button truncating button text, awful localization purposes. please advise.

updated suggestion contentview truncated labels


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -