UIPageViewController - Making a slider

0

I am using a UIPageViewController . It displays content and is changed by a NSTimer page. Basically as the content slider in highlights on the websites. The problem is that I need to identify exactly which side the user is moving the same to.

I want to remind you that in many of the cases I researched the users answered in what way I can set the direction or the methods:

func pageViewController(pageViewController: UIPageViewController, viewControllerBeforeViewController viewController: UIViewController) -> UIViewController?

func pageViewController(pageViewController: UIPageViewController, viewControllerAfterViewController viewController: UIViewController) -> UIViewController?

When in fact I need to directly "capture" this event so that I can add set properties according to the direction.

Note: If by chance someone else has another suggestion of another component to use in cases like this, it will be well accepted.

    
asked by anonymous 24.02.2015 / 17:53

0 answers