fix(ios): sdk embedding (#10216)

This commit is contained in:
Nathan Walker
2023-02-15 21:33:26 -08:00
committed by GitHub
parent e0a4c887ef
commit 0183f7e643

View File

@ -461,6 +461,7 @@ export function run(entry?: string | NavigationEntry) {
rootView._setupAsRootView({});
const embedderDelegate = NativeScriptEmbedder.sharedInstance().delegate;
if (embedderDelegate) {
setViewControllerView(rootView);
embedderDelegate.presentNativeScriptApp(controller);
} else {
const visibleVC = getVisibleViewController(rootController);