页面指标UIPageViewController
我的iPhone应用程序中有一个页面视图控制器。 该视图是使用Interface Builder和一个类来pipe理的。 这个类扩展
UIPageViewController <UIPageViewControllerDataSource,UIPageViewControllerDelegate>
我使用了以下function页面指示器。
-(NSInteger)presentationCountForPageViewController:(UIPageViewController *)pageViewController {} -(NSInteger)presentationIndexForPageViewController:(UIPageViewController *)pageViewController {}
但是,我的应用程序中的页面数量增加了,页面指示符超出了我当前的视图(起点和终点)。 有没有什么办法可以使用类似的显示器来换行标签等。任何页面指标的替代品也是受欢迎的。
你必须使用你自己的页面指示器。