PageViewController
ページインジケータを追加したいと思います。私が適用すると2がUIPageVieController DataSource methods
を行く:Swift 3のUIPageViewController
func presentationCount(for pageViewController: UIPageViewController) -> Int
func presentationIndex(for pageViewController: UIPageViewController) -> Int
pageIndicator
はViewController
の下部に表示されますが、デフォルトの黒の背景色、グレーの色合いのカラー&白現在のインデックスカラーを持ちます。また、私がこの位置にしたい場合はpageIndicator
が修正されています。それは変わらない。
は、ここでのスクリーンショットです:
黒のページインジケータが静的です。