mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-24 16:10:41 +01:00
Fix multiwindow auto layout errors. Issue #1636
This commit is contained in:
parent
9a4ed6b198
commit
f9e529bd3b
@ -80,6 +80,7 @@ class ArticleViewController: UIViewController {
|
|||||||
pageViewController = UIPageViewController(transitionStyle: .scroll, navigationOrientation: .horizontal, options: [:])
|
pageViewController = UIPageViewController(transitionStyle: .scroll, navigationOrientation: .horizontal, options: [:])
|
||||||
pageViewController.delegate = self
|
pageViewController.delegate = self
|
||||||
pageViewController.dataSource = self
|
pageViewController.dataSource = self
|
||||||
|
pageViewController.view.translatesAutoresizingMaskIntoConstraints = false
|
||||||
|
|
||||||
view.addSubview(pageViewController.view)
|
view.addSubview(pageViewController.view)
|
||||||
addChild(pageViewController!)
|
addChild(pageViewController!)
|
||||||
|
Loading…
Reference in New Issue
Block a user