![](/img/trans.png)
[英]How to create multiple UIViews Inside the UIPageviewController using iOS storyboard?
[英]How to create UIPageviewcontroller within container using iOS Objective C?
对于上述问题,我们需要设置如下
// Add the page view controller to this root view controller.
[self addChildViewController:self.pageViewController];
self.pageViewController.view.frame = self.containerView.frame;
[self.containerView addSubview:self.pageViewController.view];
[self.pageViewController didMoveToParentViewController:self];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.