【问题标题】:Page Indicator UIPageViewController页面指​​示器 UIPageViewController
【发布时间】:2013-06-21 12:57:49
【问题描述】:

我的 iPhone 应用程序中有一个页面视图控制器。视图是使用 Interface Builder 和一个管理它的类来定义的。这个类扩展了

UIPageViewController <UIPageViewControllerDataSource,UIPageViewControllerDelegate>

我为页面指示器使用了以下函数。

-(NSInteger)presentationCountForPageViewController:(UIPageViewController *)pageViewController {}
-(NSInteger)presentationIndexForPageViewController:(UIPageViewController *)pageViewController {}

但是,我的应用程序中的页面数量增加了,并且页面指示器超出了我当前的视图(起始点和结束点)。有什么方法可以让我在标签等中使用类似的显示来换行。也欢迎任何页面指示器的替代品。

【问题讨论】:

    标签: ios objective-c uiviewcontroller uipageviewcontroller


    【解决方案1】:

    您必须使用自己的页面指示器。

    【讨论】:

      猜你喜欢
      • 2023-04-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多