我加了一個UIPageViewController
在我的新遊戲的說明,我想以關閉UIPageViewController
用戶按下後,在連接到UIPageViewController
如何關閉UIPageViewController?
到目前爲止,我已經試過這最後UIViewController
「知道了」按鈕:
[self.pageVC dismissViewControllerAnimated:YES completion:nil];
而且它不會刪除UIPageViewController
,爲什麼?
我該如何解僱它?
爲了顯示/目前UIPageViewController
我這樣做:
[self addChildViewController:self.pageVC];
[self.view addSubview:self.pageVC.view];
[self.pageVC didMoveToParentViewController:self];
10X在前進!
10x男人!這是解決案件! – gran33