Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change page problem #3

Open
andy199609 opened this issue Oct 24, 2018 · 3 comments
Open

Change page problem #3

andy199609 opened this issue Oct 24, 2018 · 3 comments

Comments

@andy199609
Copy link

Is the library not provide the change page feature? I want to custom the previous and next button to change the current slide page.

@zjmdp
Copy link
Owner

zjmdp commented Oct 24, 2018

@andy199609 It's not designed to move page manually, but it's easy to achieve this by export a method.😊

@andy199609
Copy link
Author

I am a beginner. Can you explain how to achieve it? Thank You.

@zjmdp
Copy link
Owner

zjmdp commented Oct 29, 2018

- (void)scrollToPage:(NSInteger)page{ [self.scrollView setContentOffset: CGRectGetWidth(self.bounds) * page animated:YES]; }

Repository owner deleted a comment Feb 2, 2024
Repository owner deleted a comment from SASECOMPANY Mar 7, 2024
Repository owner deleted a comment from SASECOMPANY Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants