SwiftのUIPageViewControllerの基本的な使い方(ストーリーボードなし)

id 17328
user_id 1090
roll_id 1324
order 0
language ja
description ページをめくる画面はUIPageViewControllerで設計する…presentationCountと2つのpageViewControllerを用意する。presentationCountは上のコードにあるようにpagesの数を返すだけの関数。UIPageViewControllerというクラス、そしてページ画面のポイントは2つのpageViewControllerにある。UIPageViewControllerはページを戻るときと、ページを進めるときの動作を表す。
image_id 0
tag
created_time 1535291937
updated_time 1555261795

← 戻る