objective c - iOS UIScrollView scrolls only horizontally -
i have added uiscrollview
uiviewcontroller
using interface builder. inside uiscrollview
there's uilabel
holds lot of text. have added constraints in both uiscrollview
, uilabel
. problem when text long scrolls horizontally vertically truncated. how can uiscrollview's content scroll vertically. thanks.
use textview instead of uilabel
insert longer text. uncheck editable property. , scroll itself, uitextview
.
Comments
Post a Comment