Skip to main content
May 14, 2012
Question

IOS - First View

  • May 14, 2012
  • 1 reply
  • 407 views

I am building an ios app and want to use the tab navigation. However, I do not want the first view when opening the app to be on the button bar.

Meaning. I want "view 1, view 2, view 3" on the tab bar, but I want "Todays news" view to be opened on first load (with the navigation on the bottom

Is this possible?

This topic has been closed for replies.

1 reply

sinious
Legend
May 14, 2012

There's nothing special about how the "preset" tab navigation style loads. It just "sets it up" for you but there's no magic to it.

If you're unfamiliar with spark and the navigator what you can do is start a dummy project with the tab mode selected and keep it open for a reference. The code you see is what will be necessary to invoke tabs but is also just, in and of itself, a view.

Now you can create a views based app. Your first view can be coded how you like. Somewhere on the view you can create a button that will launch the tabs in another view. Use the dummy project you have open as a reference and in the new view you create simply copy over the code you need.

Just don't think that the presets are the only ways you can create apps, empty, view or tabbed. They're just starting points with example code to get you started. Nothing more.