* [ios] notify view load when view loaded

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

Branch: refs/heads/0.13-dev
Commit: bc29616a41625ad2f3baa9ec292ebd777d31c08c
Parents: c155e36
Author: acton393 <zhangxing610...@gmail.com>
Authored: Wed May 17 11:31:35 2017 +0800
Committer: acton393 <zhangxing610...@gmail.com>
Committed: Wed May 17 11:31:35 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bc29616a/ios/sdk/WeexSDK/Sources/Model/WXComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Model/WXComponent.m 
b/ios/sdk/WeexSDK/Sources/Model/WXComponent.m
index f10e9eb..8ee5393 100644
--- a/ios/sdk/WeexSDK/Sources/Model/WXComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Model/WXComponent.m
@@ -248,6 +248,7 @@
         }
         
         [self setNeedsDisplay];
+        [[NSNotificationCenter defaultCenter] 
postNotificationName:WX_COMPONENT_NOTIFICATION_VIEW_LOADED object:self];
         [self viewDidLoad];
         
         if (_lazyCreateView) {

Reply via email to