ios - Content in UIScrollView is being cutoff early -
i have several uiviews
within auiscrollview
, want them scroll way bottom of uiscrollview
before cutting off (see image #2).
background on scroll view:
i created uiscrollview
subclass of customuiview
. put view in uiscrollview
auto layout in storyboard creates correct frame device.
in view controller attached storyboard uiviewcontroller
created aniboutlet
theuiview
, , in viewdidappear
function called function attached view populated uiscrollview
.
in storyboard gave view blue background tell frame. here storyboard looks like:
then looks on phone:
notice how space exists between view cuts off , bottom of screen is. on devices.
i have tried adjusting bottom content inset. @ 0.0 tried make -20 , did not help.
how can fix this?
Comments
Post a Comment