I've started a new app (so very little code so far), and noticed something unexpected:
I can toggle the status bar on and off by switching between portrait and landscape. And I've managed to make it reappear in landscape mode using this code, so it's not really a huge problem for me.
Is this how it's supposed to work in iOS, or did I do something to make ut automatically hide itself?
- When I have the iPhone in portrait mode, the status bar is visible - just as expected.
- When I turn the iPhone to landscape mode, the status bar disappears - not what I expected.
I can toggle the status bar on and off by switching between portrait and landscape. And I've managed to make it reappear in landscape mode using this code, so it's not really a huge problem for me.
Is this how it's supposed to work in iOS, or did I do something to make ut automatically hide itself?