0

I have three ViewControllers. I want to swipe the view controllers one by one which is similar to UIPageViewController. I searched for that in so many tutorials I did not find that.

Iam new to Objective-c.

Vig
  • 1,532
  • 1
  • 12
  • 28
iworld
  • 345
  • 1
  • 4
  • 17

1 Answers1

1

This tutorial will help you get started, it has multiple views and a persistent view as well. It also has the source code, so you can dive into the code if you don't want to read the tutorial.

If you don't want to use UIPageViewController take the UICollectionView approach to simplify things.

Take a look at this question for an example.

Community
  • 1
  • 1
Vig
  • 1,532
  • 1
  • 12
  • 28
  • Iam not asking the UIPageviecontroller.Swiping of the view same as the Pageview... – iworld Nov 25 '14 at 13:55
  • So please explain your requirements clearly and I can edit the answer. So you have multiple views that you want to swipe horizontally on the screen, without using UIPageViewController? – Vig Nov 25 '14 at 13:56
  • I would suggest you use a collection view with horizontal flow layout. This way you don't have to deal with scrolling and other gestures. Updated the answer – Vig Nov 25 '14 at 14:13