[question]how to swipe begin by code
sugitatestblue opened this issue · 2 comments
sugitatestblue commented
Could you tell me how to set SlideController
to swipe begin event by code?
VadzimMarozau commented
Hello @sugitatestblue
You can use func shift(pageIndex: Int, animated: Bool = default, forced: Bool = default)
. It slides content to page at pageIndex
.
If you want to handle swipe events initiated by user you need to implement protocol SlidePageLifeCycle
. Please take a look on example project for more information.
VadzimMarozau commented
Archive issue