Display preloader before switching to scene

So I have a few scenes, where I use spritesheets and other images. From my main menu when i press the button to go to the scene on some devices it takes couple of seconds before transition happens.

Is there a way to know how much the scene is loaded - or some other way to show user some feedback on what is going on… otherwise it kinda seems that when I press the button nothing is happening and app is frozen and it seems that the buttons are not corresponding properly to tap events.

I’ve read on preloading the scenes beforehand and then go to the scene, but that is not desirable from what i understand - it keeps all images in the memory even though I don’t need them…

So yeah… some basic way to show feedback, preloader immediately after tap event…

thanks

If I would use storyboard.loadScene() , there is no callback function which tells me that scene loading has finished and now its safe to call storyboard.gotoScene() and it will be loaded, displayed immediately without  a lag due to loading images and other assets…

From the documentation:

– load the scene (scene’s view will be inserted UNDER current scene)
local customData = { var1 = “hello!”, myVar=“world” }
local scene2 = storyboard.loadScene( “scene2”, false, customData )

– Do something here

– Later, transition to the scene (no loading necessary)
storyboard.gotoScene( “scene2”, “slideLeft”, 800 )

To me only logical would be not to “Later, transition to the scene (no loading necessary)”, but transition to the scene if it has been fully loaded, so some callback function would be nice to have… so this is not a solution…
Is there some other ways?

If I would use storyboard.loadScene() , there is no callback function which tells me that scene loading has finished and now its safe to call storyboard.gotoScene() and it will be loaded, displayed immediately without  a lag due to loading images and other assets…

From the documentation:

– load the scene (scene’s view will be inserted UNDER current scene)
local customData = { var1 = “hello!”, myVar=“world” }
local scene2 = storyboard.loadScene( “scene2”, false, customData )

– Do something here

– Later, transition to the scene (no loading necessary)
storyboard.gotoScene( “scene2”, “slideLeft”, 800 )

To me only logical would be not to “Later, transition to the scene (no loading necessary)”, but transition to the scene if it has been fully loaded, so some callback function would be nice to have… so this is not a solution…
Is there some other ways?