Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15199

iOS7: NavigationWindow missing NavBar button on a modal window

    Details

      Description

      Problem description

      NavigationWindow misses NavBar button on a modal window.

      Since Developer wants a navigation bar in a modal window open a Ti.UI.iOS.NavigationWindow with modal true. https://jira.appcelerator.org/browse/TIMOB-15113

      Sample Code to reproduce

      var cancelButton = Ti.UI.createButton({
      	systemButton : Ti.UI.iPhone.SystemButton.CANCEL,
      	title : "TEST"
      });
       
      var baseControlWin = Ti.UI.createWindow({
      	backgroundImage : "/a_window_background.png"
      });
       
      var backgroundWindow = Ti.UI.iOS.createNavigationWindow({
       
      	modal : true,
       
      	window : baseControlWin,
       
      	leftNavButton : cancelButton,
       
      	orientationModes : [Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT, Ti.UI.PORTRAIT, Ti.UI.UPSIDE_PORTRAIT]
      });
       
      backgroundWindow.open(); 
      

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              egomez Eduardo Gomez (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-17470
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code