|
@@ -106,6 +106,7 @@ static NSString* const setDefaultOptions = @"setDefaultOptions";
|
106
|
106
|
if([vc isKindOfClass:[RNNRootViewController class]]) {
|
107
|
107
|
RNNRootViewController* rootVc = (RNNRootViewController*)vc;
|
108
|
108
|
rootVc.previewController = newVc;
|
|
109
|
+ [newVc renderTreeAndWait:NO perform:nil];
|
109
|
110
|
|
110
|
111
|
rootVc.previewCallback = ^(UIViewController *vcc) {
|
111
|
112
|
RNNRootViewController* rvc = (RNNRootViewController*)vcc;
|