Does iPad Popover support titleControl property?
I want to set an iPad popover's titleControl to a tabbedBar. Is this possible? The docs don't indicate a popover supports the titleControl property, so I don't think this is possible, but is there a way to achieve this another way? To clarify, I'm trying to add a tabbedBar control to the middle of the title bar of a popover.
1 Answer
-
Hi
it's a shame you cant do titleControl on popovers
heres a bit of a workaround, though it may not suit
var tabbed = Titanium.UI.createTabbedBar({ labels:['Segment 1', 'Segment 2'], style:Titanium.UI.iPhone.SystemButtonStyle.BAR, width:200, index:0 }); var popover = Ti.UI.iPad.createPopover({ width:200, height:350, rightNavButton:tabbed });
[edit]
just looking at the source for popovers, and there is no titleControl support. however looking at it and comparing to the window, i dont think it will be difficult to add. perhaps creating a ticket is the way to go?