I’m working on an app that needs to support orientation changes. My settings screen is created with Widget Candy. The setting screen closes when the user hits the “close” button and a new scene is loaded on storyboard.
This is how I defined the close function inside NewWindow:
onClose = function(EventData) storyboard.gotoScene( "MainScene" ) end
Everything works fine until I try to change orientation.
However, after the orientation changes, the window will not dissapear when going to a new scene (i know that it does load the new scene, but the widget candy window stays on top and will not close)
Any ideas how to solve this?
I’m using Widget Candy 1.0.95 and Corona Daily build 1133