UIButtons at the bottom of UIScrollView not working

后端 未结 6 677
囚心锁ツ
囚心锁ツ 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:43

    Just increase the container view height and also Container view must be a subview of the scroll view and all other subviews are part of the container view.

    like  Scroolview -> ContainerView--> UIButtons
    

提交回复
热议问题