Browse files

fix iOS build

  • Loading branch information...
1 parent db60b87 commit a66e4cb6abf69d05186674c4c237eec260708045 @dmitrys dmitrys committed Oct 12, 2012
View
2 lib/extensions/audiocapture/ext/audiocapture/platform/iphone/Classes/audioCapture.h
@@ -28,7 +28,7 @@
@property (readwrite, copy) NSString *callbackURL;
@property (readwrite, copy) NSString *destination;
@property (readwrite, copy) NSString *recorderFilePath;
-@property (readwrite, copy) int duration;
+@property (readwrite, assign) int duration;
+ (RhoAudioCapture*) getInstance;
View
2 platform/iphone/Classes/RhoViewController.m
@@ -35,6 +35,7 @@ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interface
return YES;
}
+#ifdef __IPHONE_6_0
- (BOOL)shouldAutorotate {
if ([[Rhodes sharedInstance] isRotationLocked])
return NO;
@@ -48,5 +49,6 @@ - (NSUInteger)supportedInterfaceOrientations
return UIInterfaceOrientationMaskPortrait;
return UIInterfaceOrientationMaskAll;
}
+#endif
@end

0 comments on commit a66e4cb

Please sign in to comment.