You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ji...@apache.org on 2017/01/24 08:21:19 UTC

[08/50] [abbrv] incubator-weex git commit: * [ios] bugfix call renderFinish

* [ios] bugfix call renderFinish


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

Branch: refs/heads/master
Commit: 1fb2e0a5e923e4f77e7b0282f04d596934b7b478
Parents: 35e0084
Author: acton393 <zh...@gmail.com>
Authored: Tue Jan 10 21:34:47 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Jan 10 21:34:47 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/1fb2e0a5/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
index b2a47c8..5c070ed 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
@@ -298,6 +298,7 @@ static dispatch_queue_t WXImageUpdateQueue;
                     }
                     
                     if ([strongSelf isViewLoaded]) {
+                        strongSelf.imageDownloadFinish = YES;
                         ((UIImageView *)strongSelf.view).image = image;
                         [strongSelf notifyRenderFinish];
                     }