In iOS 8, the methods for interface rotation are deprecated. This includes:
willRotateToInterfaceOrientation:duration:didRotateFro
For me, here we rotate "things manually" with some calculations and a plist file that track the size of headers and things like that (so if we want to change something buttons and so on, we only change this plist not all individual xibs). And all our rotation code is inside willLayoutSubviews so all things are correct even on new iOS8... except for I Also I did see that for new ios8 [[UIScreen mainScreen] bounds].size.width now return the width acording to device orientation not to device real size.
I will post this to other thread:
- (BOOL) isIOS8OrAbove{
float version802 = 1140.109985;
float version8= 1139.100000; // there is no def like NSFoundationVersionNumber_iOS_7_1 for ios 8 yet?
NSLog(@"la version actual es [%f]", NSFoundationVersionNumber);
if (NSFoundationVersionNumber >= version8){
return true;
}
return false;
}