setStatusBarHidden not working Answer Add this code blocks, then it works. - (BOOL)prefersStatusBarHidden { return YES; }