[Solved] When I pass data from TableView to child PageViewController, it can go to next child
The problem here is that you are referencing two completely different objects. In viewDidLoad you create ThongTinBNPage2 viewController and then add it to the viewControllers property of the pageViewController. However, the objects stored in VCArr are two totally different viewControllers. Let’s think about it this way: When viewDidLoad is called you create viewController object #1 … Read more