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
  • 9,564
  • 146
  • 81
  • 122
Kavitha Madhu
  • 396
  • 1
  • 5
  • 19

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
  • 71
  • 3
  • 10
0

use HMSegmentedControl third party for same

Vikash Kumar
  • 642
  • 1
  • 11
  • 25