0

I have created nine table view controllers using page view controller and UIView. Inside UIView, there are nine buttons to points the table view controller.

My problem is, I want to make my UIView scrollable programmatically. In my project, all the buttons are in the same controller and no space to move.

Can anyone help?

My project image:

Pang
  • 8,605
  • 144
  • 77
  • 113
Eniya Sri
  • 374
  • 4
  • 18

2 Answers2

0

use UICollectionView and set UICollectionView.pagingEnabled = YES. UIScrollView is the same but you need to do something for sub views and scrollView contentSize.

JoShin
  • 61
  • 1
  • 10
0

use HMSegmentedControl third party for same

Vikash Kumar
  • 1,224
  • 1
  • 10
  • 23