如何改变UIPageViewController分页curlanimation的方向

我需要显示阿拉伯语(右到左)的内容,找不到任何方法来旋转UIPageViewControllerfind的页面curl的animation,因为基本上阿拉伯书籍应该从左转到右。

如果您仅支持纵向模式,则应查看UIPageViewController delegate方法pageViewController:spineLocationForInterfaceOrientation:并返回UIPageViewControllerSpineLocationMax

但是如果你想支持横向和纵向,那么你可以保留默认的脊椎位置animation,但提供的方向相反的方向比请求这样的页面

: pageViewController:viewControllerBeforeViewController:返回下一页,并在: pageViewController:viewControllerAfterViewController只是返回前一个。

Interesting Posts