mirror of https://github.com/axmolengine/axmol.git
UIInterfaceOrientationMaskLandscape -> UIInterfaceOrientationMaskAllButUpsideDown, developers still need to set orientation in xcode->targets
This commit is contained in:
parent
edaf22f14d
commit
d18eecf247
|
@ -61,7 +61,7 @@
|
||||||
- (NSUInteger) supportedInterfaceOrientations
|
- (NSUInteger) supportedInterfaceOrientations
|
||||||
{
|
{
|
||||||
#ifdef __IPHONE_6_0
|
#ifdef __IPHONE_6_0
|
||||||
return UIInterfaceOrientationMaskLandscape;
|
return UIInterfaceOrientationMaskAllButUpsideDown;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
||||||
- (NSUInteger) supportedInterfaceOrientations{
|
- (NSUInteger) supportedInterfaceOrientations{
|
||||||
#ifdef __IPHONE_6_0
|
#ifdef __IPHONE_6_0
|
||||||
return UIInterfaceOrientationMaskLandscape;
|
return UIInterfaceOrientationMaskAllButUpsideDown;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
||||||
- (NSUInteger) supportedInterfaceOrientations{
|
- (NSUInteger) supportedInterfaceOrientations{
|
||||||
#ifdef __IPHONE_6_0
|
#ifdef __IPHONE_6_0
|
||||||
return UIInterfaceOrientationMaskLandscape;
|
return UIInterfaceOrientationMaskAllButUpsideDown;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
||||||
- (NSUInteger) supportedInterfaceOrientations{
|
- (NSUInteger) supportedInterfaceOrientations{
|
||||||
#ifdef __IPHONE_6_0
|
#ifdef __IPHONE_6_0
|
||||||
return UIInterfaceOrientationMaskLandscape;
|
return UIInterfaceOrientationMaskAllButUpsideDown;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
||||||
- (NSUInteger) supportedInterfaceOrientations{
|
- (NSUInteger) supportedInterfaceOrientations{
|
||||||
#ifdef __IPHONE_6_0
|
#ifdef __IPHONE_6_0
|
||||||
return UIInterfaceOrientationMaskLandscape;
|
return UIInterfaceOrientationMaskAllButUpsideDown;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
||||||
- (NSUInteger) supportedInterfaceOrientations{
|
- (NSUInteger) supportedInterfaceOrientations{
|
||||||
#ifdef __IPHONE_6_0
|
#ifdef __IPHONE_6_0
|
||||||
return UIInterfaceOrientationMaskLandscape;
|
return UIInterfaceOrientationMaskAllButUpsideDown;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
|
||||||
- (NSUInteger) supportedInterfaceOrientations{
|
- (NSUInteger) supportedInterfaceOrientations{
|
||||||
#ifdef __IPHONE_6_0
|
#ifdef __IPHONE_6_0
|
||||||
return UIInterfaceOrientationMaskLandscape;
|
return UIInterfaceOrientationMaskAllButUpsideDown;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue