title: Views in iOS7 moved above Navigation bar but work fine in iOS6
body: <p>I am unable to get the UISearchBar to display fine on iOS7. I cannot use AutoLayout as I must support the app for older versions of iOS prior to 6 also. I tried setting the container view's frame if the iOS is of version 7 and above but it does not work. I also tried topLayOutGuide length and other tips mentioned in other SO posts but I could not succeed. (EDIT:- I am using STORYBOARD)</p>
  
  <p>The only thing I currently have in my code is </p>
  
  <pre><code>if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.0")) {
      self.edgesForExtendedLayout = UIRectEdgeNone;
  }
  </code></pre>
  
  <p>Can someone please help me with this issue?</p>
  
  <p><img src="https://i.stack.imgur.com/9Euaz.png" alt="Screenshot of simulator top section in iOS7">
  <img src="https://i.stack.imgur.com/Q5nyQ.png" alt="Screenshot of simulator top section in iOS6"></p>