I donβt know if setFrame has changed, but I can say that the βrestrictionsβ have changed in iOS 8, where the bounds property of the UIScreen class now reflects the orientation of the device, so the width and height will pop up when in the landscape.
iOS 8 offers a new nativeBounds property on UIScreen that does not change with orientation, but note that it is measured in pixels, not points.
source share