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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -