title: iOS 7 Status Bar Collides With NavigationBar
body: <p>I have a view controller in my app that has a navigation bar dragged on it in the storyboard. It was working fine in the iOS 6 but in iOS 7 it look like this:</p>
  
  <p><img src="https://i.stack.imgur.com/Wnfi9.png" alt="ios 7 status bar nav var"></p>
  
  <p>The status bar and the navigation bar should no collide with each other. I have seen a lot of such questions on the stack overflow but they didn't of much help to me.</p>
  
  <p>Some questions say that i should use this "self.edgesForExtendedLayout = UIRectEdgeNone;" but it didn't work. Some say i should remove the navigation bar and embed it inside the navigation controller that i cannot do due to the way my program is implemented. Some solutions suggests to use the view bounds and all but it didn't work for me as well.</p>
  
  <p>What is the one thing that can help me resolve this issue. Thanks in advance!</p>
  
  <p><strong>UPDATE:</strong> I have embedded the view controller inside a uinavigation controller. Removed the navigation bar that was earlier manually added in it. Now it looks ok in the storyboard but when i run it, it shows the following:</p>
  
  <p><img src="https://i.stack.imgur.com/c6Mqj.png" alt="iOS 7 Navigation Status bar"> </p>
  
  <p>It is showing text from another view controller that is currently behind it that is its parent view controller. Means its transparent now. Can anyone point out what i am doing wrong? </p>