UIInterfaceOrientationMaskLandscape -> UIInterfaceOrientationMaskAllButUpsideDown, developers still need to set orientation in xcode->targets

This commit is contained in:
walzer 2012-09-27 10:28:00 +08:00
parent edaf22f14d
commit d18eecf247
7 changed files with 7 additions and 7 deletions

View File

@ -61,7 +61,7 @@
- (NSUInteger) supportedInterfaceOrientations
{
#ifdef __IPHONE_6_0
return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskAllButUpsideDown;
#endif
}

View File

@ -60,7 +60,7 @@
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskAllButUpsideDown;
#endif
}

View File

@ -60,7 +60,7 @@
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskAllButUpsideDown;
#endif
}

View File

@ -43,7 +43,7 @@
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskAllButUpsideDown;
#endif
}

View File

@ -43,7 +43,7 @@
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskAllButUpsideDown;
#endif
}

View File

@ -60,7 +60,7 @@
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskAllButUpsideDown;
#endif
}

View File

@ -43,7 +43,7 @@
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskAllButUpsideDown;
#endif
}