[TIMOB-15294] iOS7: Support navTintColor for Titanium.UI.iPad.Popover
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2013-11-12T22:57:17.000+0000 |
Affected Version/s | Release 3.1.3 |
Fix Version/s | Backlog |
Components | iOS |
Labels | dev-investigate, ios7, triage |
Reporter | Mostafizur Rahman |
Assignee | Vishal Duggal |
Created | 2013-09-18T02:10:32.000+0000 |
Updated | 2017-03-22T17:29:14.000+0000 |
Description
Windows, Toolbar, etc all support it but not Popovers.
Test case:
var win = Ti.UI.createWindow();
var button = Ti.UI.createButton({title: 'Open Popover!'});
button.addEventListener('click', function(e){
popover.show({ view: button });
});
win.add(button);
var view = Ti.UI.createView({backgroundColor: 'green'});
view.add(Ti.UI.createLabel({text: "It's not easy being green."}));
var rightButton = Ti.UI.createButton({title: 'Robin'});
rightButton.addEventListener('click', function(e){
alert("But green's the color of spring.");
});
var popover = Ti.UI.iPad.createPopover({
width: 250,
height: 100,
title: 'Kermit',
tintColor: 'white',
rightNavButton: rightButton
});
popover.add(view);
win.open();
This will become a "Won't Fix"
Use contentView property set to Ti.UI.iOS.NavigationWindow and control navigation bar customizations from there
Can you share sample code for the work around? Also it seems a long winded solution just to change the tint color.
Closing ticket as the issue will not fix and with reference to the above comments.