In IOS 11 and 12 I have used
[[[UIApplication sharedApplication] valueForKey:@"statusBarWindow"] valueForKey:@"statusBar"]
to hide the status bar by changing the height. In IOS 13 using statusBarManager can get the statusBarFrame and change the height but it's not getting changed in the view. Does anyone know how to change the status bar frame in the IOS 13?