Personal Project

Friday, October 4, 2013

How to solve iOS 7 status bar overlapping problem ?


Although there are lots of solutions to this problem on the internet,  this is the most easiest way to make it work.

Solution:  Add the following codes in your View Controller.m

-(BOOL) prefersStatusBarHidden
{
   return YES;


}

Before: 
iOS 7 status bar overlaps background image as shown below.


















After : iOS 7 status bar is hidden.



No comments:

Post a Comment