I try that the ios 7 will get the wrong height of status bar when the device rotated in swift. I have tested IPad Air (ios 7.0) and IPhone 6 (ios 8.2). It there any solution that can get the correct height of status bar?
Problem Coding(which it get self.view.bounds.size.width
):
let status_height = UIApplication.sharedApplication().statusBarFrame.size.height
self.view.bounds.size.width
fromstatus_height
when i rotate the device. status bar should not big as 1024. – Jacky Shek