Skip to content

Commit

Permalink
Fix conflict return type in implementation of 'supportedInterfaceOrie…
Browse files Browse the repository at this point in the history
…ntations'
  • Loading branch information
Breno Douglas committed Feb 11, 2016
1 parent 2576cc6 commit 0708a83
Showing 1 changed file with 1 addition and 1 deletion.
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 0708a83

Please sign in to comment.