Closed theduman closed 7 years ago
Hello @theduman, good question. Yes, this is expected behaviour. There is special code in the library that stops autoscrolling when user starts scrolling manually. The reason for stopping auto scroll is because it would be interfering with manual scrolling. However, there is a way to start autoscrolling again after the user stopped scrolling, which is described in https://github.com/evgenyneu/Auk/issues/44. Let me know if it helps.
Thank you for your respond @evgenyneu . I tried your solution but unfortunately didnt work.I debugged but when I swipe image manually scrollViewDidEndDragging didn't called.I am using swipe gesture in somewhere else to another UI. Could be any conflict with that?
Edit: What if we add a new swipe gesture to the slider and when swipe detected by UIGestureRecognizer we restart auto scrolling within our own swipe function? Is this possible?
Hmm, did you set scrollView.delegate = self
?
I am using swipe gesture in somewhere else to another UI.
What do you mean, sorry?
What if we add a new swipe gesture to the slider and when swipe detected by UIGestureRecognizer we restart auto scrolling within our own swipe function? Is this possible?
I haven't done that but you can try and see if it helps.
I've missed the scrollView.delegate = self
part it works fine but now page indicator doesnt change.Am I still missing something?
@theduman, oh, one needs to call scrollView.delegate = self
once and before accessing the .auk
property of the scroll view.
@evgenyneu thank you Its working perfectly now. Thank you for this beautiful library too , keep up the good work.
No worries, all the best
Hi . Thanks for making this great library.I have a problem described in title.Here is my code.
Is this expected behaviour? Thank you for you help.