ios - What function is called whenever a UIPageViewController is swiped? -
i need execute function whenever uipageview swiped.
conform uipageviewcontrollerdelegate
, implement following methods:
func pageviewcontroller(uipageviewcontroller, willtransitionto: [uiviewcontroller]) { // called when swiping begins } func pageviewcontroller(uipageviewcontroller, didfinishanimating: bool, previousviewcontrollers: [uiviewcontroller], transitioncompleted: bool) { // called when swiping ends }
Comments
Post a Comment