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/09 07:10:30 UTC
incubator-weex git commit: * [ios] cancel fire app background and
foreground event when view disappear and appear
Repository: incubator-weex
Updated Branches:
refs/heads/0.14-dev 660efaac0 -> 0d61f2b07
* [ios] cancel fire app background and foreground event when view disappear and appear
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/0d61f2b0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/0d61f2b0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/0d61f2b0
Branch: refs/heads/0.14-dev
Commit: 0d61f2b07ddf8a6b83eef6ea1d25abe6a791f521
Parents: 660efaa
Author: acton393 <zh...@gmail.com>
Authored: Fri Jun 9 15:09:49 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Jun 9 15:09:49 2017 +0800
----------------------------------------------------------------------
ios/playground/WeexDemo/WXDemoViewController.m | 6 ------
1 file changed, 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/0d61f2b0/ios/playground/WeexDemo/WXDemoViewController.m
----------------------------------------------------------------------
diff --git a/ios/playground/WeexDemo/WXDemoViewController.m b/ios/playground/WeexDemo/WXDemoViewController.m
index 6673296..aee83d7 100644
--- a/ios/playground/WeexDemo/WXDemoViewController.m
+++ b/ios/playground/WeexDemo/WXDemoViewController.m
@@ -72,7 +72,6 @@
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
- [_instance fireGlobalEvent:WX_APPLICATION_DID_BECOME_ACTIVE params:nil];
[self updateInstanceState:WeexInstanceAppear];
}
@@ -88,11 +87,6 @@
self.navigationController.navigationBarHidden = NO;
}
-- (void)viewWillDisappear:(BOOL)animated
-{
- [_instance fireGlobalEvent:WX_APPLICATION_WILL_RESIGN_ACTIVE params:nil];
-}
-
//TODO get height
- (void)viewDidLayoutSubviews
{