-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
I can't explain why the example is working, but when I set new center windows the app crashes without any messages in the console. It just stops.
Add some timeouts after the main window has opened;
drawer.open();
setTimeout(function() {
var w = Ti.UI.createWindow({
backgroundColor: 'red'
});
drawer.setCenterWindow(w);
},7000);
setTimeout(function() {
var w = Ti.UI.createWindow({
backgroundColor: 'green'
});
drawer.setCenterWindow(w);
},9000);
setTimeout(function() {
var w = Ti.UI.createWindow({
backgroundColor: 'blue'
});
drawer.setCenterWindow(w);
},11000);
setTimeout(function() {
var w = Ti.UI.createWindow({
backgroundColor: 'orange'
});
drawer.setCenterWindow(w);
},13000);
This will crash the app after the second window (green) has been set.
Running SDK 7.0.1.GA
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels