Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Passing through createNavigationGroup for ios 7

$
0
0

Hi All

I have a app working with a tabgroup and i pass through the navigation like this which works.

var baseWindow = Ti.UI.createWindow({
        navBarHidden:true
    });
 
    baseWindow.orientationModes = [Titanium.UI.PORTRAIT];
 
    var win1 = Titanium.UI.createWindow({
        backgroundColor : '#fff',
        titleControl : Ti.UI.createLabel({
            text : 'Title',
            color : '#ffffff'
        }),
        url : 'ui/tab3.js'
    });
 
    var nav1 = Titanium.UI.iPhone.createNavigationGroup({
        window:win1,
    });
    baseWindow.add(nav1);
 
    win1._navGroup = nav1;
 
    tabGroup.addTab(Ti.UI.createTab({
        title : 'Title',
        icon : 'icon.png',
        window : baseWindow
    }));
but i can find a way to do it with the new ios 7 Titanium.UI.iOS.NavigationWindow.

Has anyone managed to do this?

Thanks


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>