remove iPhone's status bar

1. open storeboard  click view controller, Go to the Attributes
inspector and under Simulated Metrics set Status Bar to None.
2. add a line code blow in view-controller.m file.
[code:] - (BOOL)prefersStatusBarHidden {return YES; }
3. Go to the Project Settings screen and under Deployment Info, Status
Bar Style, check the option Hide during application launch.