When I open and close the control center, the status bar disappears automatically.
I do not want this behavior and it happens since I migrated the project from xcode 8 to 9. Occurs in iOS11 and iOS10.
I found the solution: In the info.plist i have to change
View controller-based status bar appearance = No
To
View controller-based status bar appearance = Yes