Open milligator opened 7 years ago
Have you tried overriding the method prefersStatusBarHidden
from UIViewController
to return false
?
If you‘re playing with the included example app, you can make this change in ImageCollectionViewController
, i.e.:
// …
class ImageCollectionViewController: UICollectionViewController {
// …
override var prefersStatusBarHidden: Bool { return false } // was: return true
}
// …
I am wondering why the status bar not visible in the collection view. would you mind helping me make it visible?