开发者

model window shows up behind the iPhones status bar

开发者 https://www.devze.com 2023-02-11 23:56 出处:网络
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\'

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

精彩评论

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