浏览代码

Revert "fixes #2982"

This reverts commit 594cd772cd.
yogevbd 6 年前
父节点
当前提交
e42708d16c
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5
    1
      lib/ios/RNNRootViewController.m

+ 5
- 1
lib/ios/RNNRootViewController.m 查看文件

@@ -41,6 +41,11 @@
41 41
 	return self;
42 42
 }
43 43
 
44
+-(void)viewWillAppear:(BOOL)animated{
45
+	[super viewWillAppear:animated];
46
+	[self.options applyOn:self];
47
+}
48
+
44 49
 -(void)viewDidAppear:(BOOL)animated {
45 50
 	[super viewDidAppear:animated];
46 51
 	[self.eventEmitter sendComponentDidAppear:self.componentId componentName:self.componentName];
@@ -57,7 +62,6 @@
57 62
 
58 63
 - (void)viewDidLoad {
59 64
 	[super viewDidLoad];
60
-	[self.options applyOn:self];
61 65
 }
62 66
 
63 67
 - (void)optionsUpdated {