I\'m in the process of making a tutorial, and I\'m trying to emulate the style of Path\'s tutorial like so:
http://www.appcoda.com/wp-content/uploads/2013/06/UIPageV
Swift 3 snippet
override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
if let scrollView = view.subviews.filter({ $0 is UIScrollView }).first,
let pageControl = view.subviews.filter({ $0 is UIPageControl }).first {
scrollView.frame = view.bounds
view.bringSubview(toFront:pageControl)
}
}