Objective-c: after ios 11 update black status bar in swrevealcontroller

Viewed 762

I'm working on an app. Before the ios 11 update, it worked fine. But after updating to ios 11 and updating XCode, I'm struggling with a bug. I have a side menu using the SWRevealController framework: https://github.com/John-Lluch/SWRevealViewController.

After updating to ios 11, it looked like this:

after ios 11 update

There is something wrong with the status bar. It used to be blue, like the rest. I cannot see the text in the statusbar(like the time), but I can see the green battery when I place the whole menu over the screen. As you can see, the other viewcontroller is working fine (just like the whole app). Only the menu is problematic. After doing some debugging, I think the self.navigationController.navigationBar is not heigh enough.

What is happening here?

Thanks!

1 Answers
Related