Question : statusbarwindow.status bar objective c
Answered by : creepy-centipede-7t85e6775st7
UIView *statusBar = [[UIView alloc]initWithFrame:[UIApplication sharedApplication].keyWindow.windowScene.statusBarManager.statusBarFrame] ;
statusBar.backgroundColor = [UIColor whiteColor];
[[UIApplication sharedApplication].keyWindow addSubview:statusBar];
Source : https://developer.apple.com/forums/thread/120414 | Last Update : Sun, 27 Jun 21