mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2025-05-05 01:32:59 +08:00
Fix conflict return type in implementation of 'supportedInterfaceOrientations'
This commit is contained in:
parent
2576cc6f23
commit
0708a83716
@ -95,7 +95,7 @@ SOFTWARE.
|
||||
|
||||
@implementation ForcedViewController
|
||||
|
||||
- (NSUInteger) supportedInterfaceOrientations
|
||||
- (UIInterfaceOrientationMask) supportedInterfaceOrientations
|
||||
{
|
||||
if ([self.calledWith rangeOfString:@"portrait"].location != NSNotFound) {
|
||||
return UIInterfaceOrientationMaskPortrait;
|
||||
|
Loading…
x
Reference in New Issue
Block a user