开发者

model window shows up behind the iPhones status bar

When opening a modal window, if the windows navBarHidden property is set to true, o开发者_JAVA百科pening it the first time is fine. After open another model window within it and ,by clicking 'Back' navButton and reopening it, the modal window shows up behind the iPhones status bar at the top (where the signal, clock etc is) It seems good on Android. Any help appreciated!!

-gangaraju


Maybe add a listener to the focus event to the first modal window and hide it when it's called.

var win = Ti.UI.currentWindow;
win.addEventListener('focus', function(e){ win.navBarHidden = true;});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜