Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1278] leftNavButton not showing up in simulator on iPhone OS 4 and sdk 1.3.2

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:48:23.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsios, ios4, leftnavbutton, simulator
Reporterkalebheitzman
AssigneeReggie Seagraves
Created2011-04-15T02:48:23.000+0000
Updated2017-03-09T23:15:58.000+0000

Description

Hey all, I can't get the leftNavButton to show up in modal windows after upgrading to to iPhone OS 4 and sdk 1.3.2. They worked in iPhone OS 3.2.1 and sdk 1.3.0. Possible bug?

// create the close button and listener for the main window
var button = Titanium.UI.createButton({
    title:'Close'
});
// create first window and the navigation group
var first = Titanium.UI.createWindow({
    title: "Courses",
    barColor: '#005a84',
    leftNavButton: button
});
button.addEventListener('click', function(e) {
    main.close();
});

Comments

  1. kalebheitzman 2011-04-15

    Found solution: added button to the main modal window. I was adding the button to a window within the modal window and in the upgrade it quit working. It makes more sense that the button is added to the modal window.

  2. kalebheitzman 2011-04-15

    Solution broke: When using a navGroup inside of a modal window, the leftNavButton doesn't show until drilling into a secondary window and then hitting back.

  3. Stephen Tramer 2011-04-15

    Not enough information; invalidated due to staleness of ticket. If still able to reproduce, provide a complete sample.

  4. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source