Hi every one i have 3 controller in my UIPageViewController
. I just want to disable left swipe scroll from first controller and also disable right swap scroll from last controller. How can I do that?
Asked
Active
Viewed 362 times
0

Rishi Chaurasia
- 520
- 4
- 18

Shahbaz Akram
- 1,598
- 3
- 28
- 45
-
Take a look at this link, it can be what you need https://stackoverflow.com/questions/21798218/disable-uipageviewcontroller-bounce – trungduc Nov 10 '17 at 07:40
-
implement but not working. – Shahbaz Akram Nov 10 '17 at 07:59
-
@ShahbazAkram possiblly look at https://stackoverflow.com/questions/33656432/how-do-i-disable-the-inifinite-loop-of-viewcontrollers this link. this may work :) – Rishi Chaurasia Nov 10 '17 at 08:33
-
Do `dataSource = nil` and handle on swipe gesture if you want. – Amir Khan Nov 10 '17 at 08:36
-
@AmirKhan Can you explain how i can do it? – Shahbaz Akram Dec 08 '17 at 06:14