You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2017/06/22 09:46:56 UTC

[4/8] incubator-weex git commit: * [ios] use get method to access view property

* [ios] use get method to access view property


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5f6ca9e1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5f6ca9e1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5f6ca9e1

Branch: refs/heads/0.15-dev
Commit: 5f6ca9e11dcc203cb1a02bfa8f7eb0e3d1360b9b
Parents: d884871
Author: acton393 <zh...@gmail.com>
Authored: Wed Jun 21 11:40:58 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Wed Jun 21 11:40:58 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Events/WXComponent+Events.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5f6ca9e1/ios/sdk/WeexSDK/Sources/Events/WXComponent+Events.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Events/WXComponent+Events.m b/ios/sdk/WeexSDK/Sources/Events/WXComponent+Events.m
index f1cb034..d3dceb0 100644
--- a/ios/sdk/WeexSDK/Sources/Events/WXComponent+Events.m
+++ b/ios/sdk/WeexSDK/Sources/Events/WXComponent+Events.m
@@ -272,7 +272,7 @@ if ([removeEventName isEqualToString:@#eventName]) {\
     if (_tapGesture) {
         _tapGesture.delegate = nil;
         if ([self.view.gestureRecognizers containsObject:_tapGesture]) {
-            [_view removeGestureRecognizer:_tapGesture];
+            [self.view removeGestureRecognizer:_tapGesture];
         }
         _tapGesture = nil;
     }