ios - UIPageViewController didFinishAnimating without user interaction -


i have problem can't solve.

i need call method every time move between pages in uipageviewcontroller.

recently found

-(void) pageviewcontroller:(uipageviewcontroller *)pageviewcontroller didfinishanimating:(bool)finished previousviewcontrollers:(nsarray *)previousviewcontrollers transitioncompleted:(bool)completed{... 

but called if swipe pages (gesture) or second , subsequent times switch page.

is there way trigger event every time switch pages?.

tried inner viewcontrollers (pages) viewdidload, it's called first time.

you should add code inner view controllers' viewdidappear, called whenever these view controller presented page view controller.


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -