In iOS 7 the UIStatusBar has been designed in a way that it merges with the view like this:
UIStatusBar
Apple released Technical Q&A QA1797: Preventing the Status Bar from Covering Your Views. It works fine for the iOS 6 and iOS 7 versions.