From @PanayotCankov on April 17, 2015 10:38
It would be nice if we had a way to declaratively describe some of the app properties that are currently set in the main page's onLoaded, such as the ios navBarVisibility, as well as the app type - single screen, tabbed or with navigation.
For example It would be nice if we could define app.xml as:
<!-- Displays the main-screen page for example in UINavigationController in iOS -->
<NavigationFrame
xmlns="http://www.nativescript.org/tns.xsd"
mainPage="app/main-screen">
</NavigationFrame>
<TabFrame
xmlns="http://www.nativescript.org/tns.xsd">
<!-- Eventually tab bar pages are specified here along with titles and images. -->
</TabFrame>
<!-- Displays a single page without navigation. -->
<SingleScreenFrame
xmlns="http://www.nativescript.org/tns.xsd"
mainPage="app/main-screen">
</SingleScreenFrame>
Copied from original issue: NativeScript/cross-platform-modules#287
Reactions are currently unavailable
From @PanayotCankov on April 17, 2015 10:38
It would be nice if we had a way to declaratively describe some of the app properties that are currently set in the main page's onLoaded, such as the ios navBarVisibility, as well as the app type - single screen, tabbed or with navigation.
For example It would be nice if we could define app.xml as:
Copied from original issue: NativeScript/cross-platform-modules#287