-3
UIPageControlのドットをUILabelに置き換えて、page 1 of 30
のようなテキストを素早く表示したいとします。UIPageControlのドットをUILabelに置き換えてページ数を表示するには
UIPageControlのドットをUILabelに置き換えて、page 1 of 30
のようなテキストを素早く表示したいとします。UIPageControlのドットをUILabelに置き換えてページ数を表示するには
UILabel
であなたのUIPageControl
を交換して、代わりに:
pageControl.currentPage = self.currentPage
pageControl.numberOfPages = self.totalPages
:
label.text = "Page \(self.currentPage) of \(self.totalPages)"
の削除ページのコントローラとセット・ラベルをどうすればUIPageViewControllerに入れることができますか? – Fatima
この位置 – seggy