Skip to content

Commit

Permalink
Hide status bar from example view
Browse files Browse the repository at this point in the history
  • Loading branch information
davidszelesszep committed Sep 1, 2020
1 parent fa5ac49 commit 9578e7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Example/FreestylerExample/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import Freestyler

final class ViewController: UIViewController {

override var prefersStatusBarHidden: Bool { true }

// MARK: - Outlets
@IBOutlet private weak var primaryView: UIView!
@IBOutlet private weak var titleLabel: UILabel!
Expand Down Expand Up @@ -45,7 +47,7 @@ final class ViewController: UIViewController {
UIView.animate(withDuration: 0.3) {
self.refreshStyles()
}
}
}
}

// MARK: - Private
Expand Down

0 comments on commit 9578e7d

Please sign in to comment.