Skip to content

Commit 56a5995

Browse files
authored
Create README.md
1 parent 60ce727 commit 56a5995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ SCPageViewController relies on page layouters to know where to place each of the
6464
[self.pageViewController setDecelerationRate:UIScrollViewDecelerationRateNormal];
6565

6666
// Disable bouncing
67-
[self.pageViewController setBounces:NO];
67+
[self.pageViewController.scrollView setBounces:NO];
6868

6969
// Customize how many number of touches are required to interact with the pages
7070
[self.pageViewController.scrollView.panGestureRecognizer setMinimumNumberOfTouches:2];

0 commit comments

Comments
 (0)