mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
fix(ios): sdk embedding (#10216)
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user