In-call status bar enforces a black bar - iOS

214 Views Asked by At

When the viewcontroller overrides prefersStatusBarHidden and is set to be true. When there is a in-call status bar, there is a black bar on the top. Is there way to avoid this?

enter image description here

1

There are 1 best solutions below

0
On

I think this is caused by auto layout. Please make constraints with view(not top layout guide). This maybe help.