Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2370] Modal Windows - Status Bar Style

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2013-09-20T09:53:26.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsios, mobile
ReporterNikhil N
AssigneeShak Hossain
Created2013-09-13T05:40:15.000+0000
Updated2016-03-08T07:41:24.000+0000

Description

-When opening a modal, the status bar style is set to the Light Content Style.- -Upon closing a modal, the status bar style is not reverted back to the default/user set style.-
var navWin = Ti.UI.iOS.createNavigationWindow({modal: true}),
    win = Ti.UI.createWindow(),
    closeButton = Ti.UI.createButton({title: 'Close'});

win.setLeftNavButton(closeButton);

navWin.add(win);

closeButton.addEventListener('click', function(){
    navWin.close({animated: true});
});

navWin.open();

Update:

I missed out on the updated 3.1.3 Documentation. So the status bar style remains constant as intended. However, how does one set from within a 3rd party module?

Comments

  1. Nikhil N 2013-09-13

    The above is also true when using the following via a 3rd party module
       [[TiApp app] showModalController:someViewController animated:YES];
       
  2. Nikhil N 2013-09-13

    Updated description.
  3. Mostafizur Rahman 2013-09-20

    Hello, Can you post more details? Thanks

JSON Source