Merge pull request #89 from brenodouglas/master

Fix for cordova >= 3.6.3
This commit is contained in:
Grant Benvenuti
2016-02-12 10:22:59 +10:00
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -23,7 +23,6 @@ SOFTWARE.
*/
#import <Cordova/CDVPlugin.h>
#import <Cordova/CDVShared.h>
@interface YoikScreenOrientation : CDVPlugin
+1 -1
View File
@@ -95,7 +95,7 @@ SOFTWARE.
@implementation ForcedViewController
- (NSUInteger) supportedInterfaceOrientations
- (UIInterfaceOrientationMask) supportedInterfaceOrientations
{
if ([self.calledWith rangeOfString:@"portrait"].location != NSNotFound) {
return UIInterfaceOrientationMaskPortrait;