The viewing frame on iOS 8 and 7 is different

The user interface objects in my application are almost code generated. As a rule, I calculate the frame of an object from it. (i.e. controller self.view.frame @view). My application uses landscape mode only.

After updating my phone / IDE to iOS 8 / Xcode 6 GM, the size / position of objects is incorrect.

In iOS 7, the superview frame size was {568, 320}. This is {320, 568} now.

Should I just use NSFoundationVersionNumber to determine the true frame of the superview?

+5
source share
1 answer
0
source

Source: https://habr.com/ru/post/1202690/


All Articles