Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (1.3)
Viewing all articles
Browse latest Browse all 20

[Bug!]Fullscreen and navBarHidden cause application quit not programatically

$
0
0

I posted the question about "The application quit not programatically".I paste the code :

var win=null;
win = Titanium.UI.createWindow({
    url:'win/homeWindow.js',
    backgroundColor:'#000000',
    navBarHidden:true,
    fullscreen:true
});
win.orientationModes = [Titanium.UI.LANDSCAPE_LEFT];
win.open();
When I press "back" button on phone,the app will not quit but leave a splash image.

Now I know why cause this.I removed the line "avBarHidden:true" and "fullscreen:true".This code work well.

var win=null;
win = Titanium.UI.createWindow({
    url:'win/homeWindow.js',
    backgroundColor:'#000000'
});
win.orientationModes = [Titanium.UI.LANDSCAPE_LEFT];
win.open();
This only appear on root window.It looks a bug about these two properties.

I test it on Window and mac,SDK 1.3.


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>