My view does not have a navigation bar, but I want to display content under status bar. I've checked extend edges under top bars, under opaque bars in my view controller, the view that I want to display under status bar has 0 vertical spacing constraint to top layout guide, but still, here is what I get:
The status bar has 20px solid white background, which I don't want. I want my view to overlap under status bar, just like the mockup below:
How can I do that, without having a visible navigation bar (I still have it as my view is guaranteed to be inside a navigation controller, but it's will never be visible as I have a lot of custom designed sections including top bars)?
self.edgesForExtendedLayout = UIRectEdgeNone;
(which I assume is the one that you were talking about) did not changes anything. – Can PoyrazoğluautomaticallyAdjustsScrollViewInsets = false
– ober