feat(ios): fixed embedder

This commit is contained in:
Nathan Walker
2020-07-14 14:33:09 -07:00
parent c940c43311
commit f935d170c5

View File

@@ -111,6 +111,9 @@ export class iOSApplication implements iOSApplicationDefinition {
}
get rootController(): UIViewController {
if (NativeScriptEmbedder.sharedInstance().delegate && !this._window) {
this._window = UIApplication.sharedApplication.delegate.window;
}
return this._window.rootViewController;
}