[TIMOB-1278] leftNavButton not showing up in simulator on iPhone OS 4 and sdk 1.3.2
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:48:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | ios, ios4, leftnavbutton, simulator |
Reporter | kalebheitzman |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:48:23.000+0000 |
Updated | 2017-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();
});
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.
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.
Not enough information; invalidated due to staleness of ticket. If still able to reproduce, provide a complete sample.
Closing ticket as invalid.