Skip to content

Commit cdcbcb3

Browse files
committed
chore: ensure notify first before setting window content
1 parent 7d1f266 commit cdcbcb3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

packages/core/application/application.ios.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -907,8 +907,11 @@ export class iOSApplication extends ApplicationCommon {
907907
setiOSWindow(window);
908908
}
909909

910-
// Set up the window content for the primary scene
911-
this.setWindowContent();
910+
// During initial scene startup we must wait for launch to be notified first.
911+
// Some frameworks provide root content from launch handlers.
912+
if (this.hasLaunched()) {
913+
this.setWindowContent();
914+
}
912915
}
913916
}
914917

0 commit comments

Comments
 (0)