Possible to have navigation group in popover?
Right now i've got a regular window with a navigation group opening inside a popover but it just doesn't look very good and was wondering if it was possible to put that nav group functionality up in the popover navbar…basically, i need the back button tracking for opening and closing windows in the popover.
Thx!
4 Answers
-
Yes , it is possible.
You create the navigation group, add the necessary window and views or table views to it.
Create the popover, and setnavBarHidden=true
//put code below as a callback in an event listener for object button var win= Ti.UI.createWindow(); var nav=Ti.UI.Iphone.createCreateNavigationGroup({ window:win } var popover=Ti.UI.iPad.createPopover({ width:200, height:200, title:title, arrowDirection:Ti.UI.iPad.POPOVER_ARROW_DIRECTION_TOP }); popover.navBarHidden=true; popover.add(nav); popover.show({ view:button, animated:true });
-
Still nothing on this?
-
This doesn't quite work as the title and buttons appear in the containing window's navbar rather than the pop-overs navbar
-
this one works for me Clearly Innovative Blog