0

iPhone アプリにページ ビュー コントローラーがあります。ビューは Interface Builder とそれを管理するクラスを使用して定義されます。このクラスは拡張します

UIPageViewController <UIPageViewControllerDataSource,UIPageViewControllerDelegate>

ページインジケーターには次の関数を使用しました。

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

ただし、アプリケーションのページ数が増え、ページ インジケーターが現在のビュー (開始点と終了点) から外れます。ラベルなどの改行と同様の表示を使用する方法はありますか。ページ インジケーターの代替も大歓迎です。

4

1 に答える 1