ページ送り機能メモ
2つの違いが分からないので調べたメモ。
Page View Controller(
Presents a sequence of view controllers as pages, via coordination with a data source and delegate. Swipe navigation between the pages is automatically handled with a page curl transition that tracks the user's finger. The navigation orientation can be horizontal, like pages in a book, or vertical, like pages in a wall calendar.
複数のViewControllerをページのように見せるスワイプをしてページをめくるように見せる
本のように横にスワイプするか、カレンダーのように縦にスワイプする
UIPageViewControllerの使い方 -基礎- - hyoromoのブログ
Page-Baseed Applicationを使って実装
RootViewController→ModelController→DataViewControllerな流れ
Page Controller(UIPageControl)
UIPageControl indicates the number of open pages in an application by displaying a dot for each open page. The dot that corresponds to the currently viewed page is highlighted. UIPageControl supports navigation by sending the delegate an event when a user taps to the right or to the left of the currently highlighted dot.
ばらばらのページをひとまとめにする機能?
現在表示されているページに対応する●がハイライトされる
ハイライトされた●の左か右をタップすることで隣のページへ移るイベント
とりあえずこれ単体だと駄目で、UIScrollViewも必要だということはわかった。罠すぎる。
逆引きObjective-C for iPhoneアプリ - UIPageControlの基本的な使い方
UIPageControl自体の使い方はシンプルなのですが,残念なことにUIPageControlだけではページングを実現することができません.iPhoneのホーム画面のような挙動をさせたい場合はUIScrollViewと組み合わせる必要があります.