Fix multiwindow auto layout errors. Issue #1636

This commit is contained in:
Maurice Parker 2020-01-16 21:29:10 -07:00
parent 9a4ed6b198
commit f9e529bd3b
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class ArticleViewController: UIViewController {
pageViewController = UIPageViewController(transitionStyle: .scroll, navigationOrientation: .horizontal, options: [:])
pageViewController.delegate = self
pageViewController.dataSource = self
pageViewController.view.translatesAutoresizingMaskIntoConstraints = false
view.addSubview(pageViewController.view)
addChild(pageViewController!)