I have an app that has a a table view that uses data using php and mysql. Before I did the upgrade when I ran the app on the simulator I would click an item that would then open a new view which displayed the full content. I also have a form that uses multiple views that now longer work. The issue that I am seeing is that the after the first view the new views are displaying behind the first view. Is there something that changed with the new version of Titanium for the code?
Here is an example of a view that is part of the form where I have a button called next that navigates to the next page or view. Maybe I need someone sees something here that I may need to change, or offer if someone can please provide an idea of why the views are showing up behind the first view, I would appreciate your help. Thanks.
var next_btn = Ti.UI.createButton({ width : 70, height : 40, title : "Next", backgroundImage : Ti.Filesystem.resourcesDirectory + "image/button.png", right : 5, top : 175, font : { fontSize : 12 }, }); next_btn.addEventListener('click', function(e) { var sender = aTextField_sender.value; var phone = aTextField_phone.value; var nts = aTextField_nts.value; var email = aTextField_email.value; Ti.App.Properties.setString('Sender', sender); Ti.App.Properties.setString('Phone', phone); Ti.App.Properties.setString('Notes', nts); Ti.App.Properties.setString('Email', email); var osname = Ti.Platform.osname, version = Ti.Platform.version, height = Ti.Platform.displayCaps.platformHeight, width = Ti.Platform.displayCaps.platformWidth; var Window; if (osname === 'android') { Window = require('ui/handheld/android/Application_Submission'); } else { Window = require('ui/handheld/Application_Submission'); } new Window().open(); });