UIButtons at the bottom of UIScrollView not working

后端 未结 6 826
囚心锁ツ
囚心锁ツ 2020-12-29 05:02

I created a UIScrollView in my storyboards and have added 12 UIButtons in a container View which is inside the UIScrollView.

when running on the iPhone 5s simulator,

6条回答
  •  长情又很酷
    2020-12-29 05:34

    Add all subviews from container to ScrollView. And hide the container. Make sure container(ContainerView of scrollView) should also be a subView of scrollView.

提交回复
热议问题