You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2015/03/13 16:03:07 UTC

cordova-plugin-media-capture git commit: CB-8659: ios: 4.0.x Compatibility: Remove use of initWebView method

Repository: cordova-plugin-media-capture
Updated Branches:
  refs/heads/master 0a90b123c -> f4b9e8ac2


CB-8659: ios: 4.0.x Compatibility: Remove use of initWebView method


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/f4b9e8ac
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/f4b9e8ac
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/f4b9e8ac

Branch: refs/heads/master
Commit: f4b9e8ac2005711b66fa6b8cc44337dd0f0af1b1
Parents: 0a90b12
Author: Ian Clelland <ic...@chromium.org>
Authored: Fri Mar 13 11:02:58 2015 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Fri Mar 13 11:02:58 2015 -0400

----------------------------------------------------------------------
 src/ios/CDVCapture.m | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/f4b9e8ac/src/ios/CDVCapture.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVCapture.m b/src/ios/CDVCapture.m
index 5bffcea..c49f76c 100644
--- a/src/ios/CDVCapture.m
+++ b/src/ios/CDVCapture.m
@@ -77,13 +77,9 @@
 @implementation CDVCapture
 @synthesize inUse;
 
-- (id)initWithWebView:(UIWebView*)theWebView
+- (void)pluginInitialize
 {
-    self = (CDVCapture*)[super initWithWebView:theWebView];
-    if (self) {
-        self.inUse = NO;
-    }
-    return self;
+    self.inUse = NO;
 }
 
 - (void)captureAudio:(CDVInvokedUrlCommand*)command


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org