import UIKit

public class DayViewController: UIViewController {

  lazy var dayView: DayView = DayView()

  override public func viewDidLoad() {
    super.viewDidLoad()
    view.addSubview(dayView)
  }

  public override func viewDidLayoutSubviews() {
    dayView.fillSuperview()
  }
}

import UIKit

public class DayViewController: UIViewController {

  lazy var dayView: DayView = DayView()

  override public func viewDidLoad() {
    super.viewDidLoad()
    self.edgesForExtendedLayout = UIRectEdge.None
    view.addSubview(dayView)
  }

  public override func viewDidLayoutSubviews() {
    dayView.fillSuperview()
  }
}

Remove edges for extended layout
Remove edges for extended layout
