GoAutoSlideView icon indicating copy to clipboard operation
GoAutoSlideView copied to clipboard

Change page problem

Open andy199609 opened this issue 7 years ago • 3 comments

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

andy199609 avatar Oct 24 '18 02:10 andy199609

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

zjmdp avatar Oct 24 '18 07:10 zjmdp

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

andy199609 avatar Oct 29 '18 01:10 andy199609

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

zjmdp avatar Oct 29 '18 03:10 zjmdp