Update CN integrate-to-your-app section Render weex Instance
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/4f91f1ac Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/4f91f1ac Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/4f91f1ac Branch: refs/heads/dev Commit: 4f91f1ac6db95ad1a54ce3035f25b134d198f19d Parents: 10254ec Author: w11p3333 <applecat...@gmail.com> Authored: Tue May 16 09:31:32 2017 +0800 Committer: w11p3333 <applecat...@gmail.com> Committed: Tue May 16 09:31:32 2017 +0800 ---------------------------------------------------------------------- doc/source/cn/guide/integrate-to-your-app.md | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/4f91f1ac/doc/source/cn/guide/integrate-to-your-app.md ---------------------------------------------------------------------- diff --git a/doc/source/cn/guide/integrate-to-your-app.md b/doc/source/cn/guide/integrate-to-your-app.md index fcb6430..22f632a 100644 --- a/doc/source/cn/guide/integrate-to-your-app.md +++ b/doc/source/cn/guide/integrate-to-your-app.md @@ -287,6 +287,7 @@ Weex æ¯ææ´ä½é¡µé¢æ¸²æåé¨å渲æ两ç§æ¨¡å¼ï¼ä½ éè¦åçäºæ __weak typeof(self) weakSelf = self; _instance.onCreate = ^(UIView *view) { [weakSelf.weexView removeFromSuperview]; + weakSelf.weexView = view; [weakSelf.view addSubview:weakSelf.weexView]; };