UIScreen in iOS 8 is now interface oriented (Is [UIScreen mainScreen].bounds.size becoming orientation-dependent in iOS8?).
My app runs in landscape mode only — so in iOS 7 and iOS 8 the values for bounds.size.width and bounds.size.height will be switched. In order to support iOS 7 and iOS 8, does this mean that in my code, I need to detect either the version of iOS (or for example assign the larger of the two dimensions to my 'width' variable and the shorter to the 'height' variable)? I should add that I'm creating views programmatically.