我的UIPageViewController
類符合UIPageViewControllerDataSource
協議,但UIPageControl
不可見。UIPageControl(頁面控制)不顯示在UIPageViewController中
我已經附上屏幕代表UIPageViewController
和它的孩子UIViewController
之間的代碼段,這是通過setViewControllers
方法添加的。
問題是,爲什麼不顯示頁面控制,我可以做什麼用它,只是加入UIPageControl
實例來查看自己?