Skip to content

Commit

Permalink
Merge pull request #89 from brenodouglas/master
Browse files Browse the repository at this point in the history
Fix for cordova >= 3.6.3
  • Loading branch information
gbenvenuti committed Feb 12, 2016
2 parents d89dc2a + 0708a83 commit 8790cb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/ios/YoikScreenOrientation.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ SOFTWARE.
*/

#import <Cordova/CDVPlugin.h>
#import <Cordova/CDVShared.h>

@interface YoikScreenOrientation : CDVPlugin

Expand Down
2 changes: 1 addition & 1 deletion src/ios/YoikScreenOrientation.m
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ -(void)screenOrientation:(CDVInvokedUrlCommand *)command

@implementation ForcedViewController

- (NSUInteger) supportedInterfaceOrientations
- (UIInterfaceOrientationMask) supportedInterfaceOrientations
{
if ([self.calledWith rangeOfString:@"portrait"].location != NSNotFound) {
return UIInterfaceOrientationMaskPortrait;
Expand Down

0 comments on commit 8790cb2

Please sign in to comment.