use two different uitab bar in application - iphone

I want to use two different uitabbar control in the application. first UITABbar control i add in the starting windows. and in this after the navigation i want to show the other tab bar with 5 tabs. can any one suggest how i do this ?
Or we need to add a different window for add this and need to show this windows on the click or other?
Please suggest.
Thanks

The Human Interface Guidelines specifically recommend against having multiple tab bars in your application:
If your application provides different
perspectives on the same set of data,
or different subtasks related to the
overall function of the application,
you might want to use a tab bar. A tab
bar appears at the bottom edge of the
screen.
A tab bar gives users the ability to switch among different modes or
views in an application, and users
should be able to access these modes
from everywhere in the application.
However, a tab bar should never be
used as a toolbar, which contains
buttons that act on elements in the
current mode (see “Toolbars” for more
information on toolbars).
If you need to have context-specific actions, use a toolbar instead.

Related

Make application not take over menu bar but still have dock icon?

I'm making an application that I want to function like a status bar app, where it doesn't control the menu bar (so if it's open over, say, Firefox, the menu is still the one for Firefox), but I also want people to be able to cmd-tab to it for keyboard navigation purposes. I know about Application is Agent, but that only flips both those things at once. Is there some more granular control elsewhere that allows me to change these aspects individually?

Tabless NSTabViewController

I am trying to learn some programming for Mac and therefore I am trying to program a small single window application with a navigation located in a sidebar. Via this sidebar buttons I want to change the view that is presented in the Container View. I uploaded my current storyboard below so that you can get an overview of the description above.
Overview:
Since I am currently trying to implement exchanging the views inside the Container View I stumbled over the NSTabViewController class that seemed to provide a convenient way to achieve this. The problem with it is that it doesn't seem possible(couldn't find any hints) to remove the given tab control via the tabstyle attribute like in the NSTabView class.
Questions:
Is it possible to get rid of the default tab control so that it is tabless?
Is there an easier more modern approach of achieving my described 'application'
You can set the style of the tab view to tabless in Interface Builder:
Then your items on the left could control which tab should be selected.

Is it ok to use the official iPhone compose icon on the tab bar of my app?

I have a tab bar for my app. One of the tab is an "action" tab for which I would like to use the official iPhone compose icon here as the tab item icon, is it allowed?
It is allowed provided you use it they way it was intended to be used. So if it is used to initiate a "compose" feature it would be allowed.
Apple will not hesitate to reject an app if any of their icons are used in unintended or nonstandard ways - and will site their HIG. So if you aren't sure, I would suggest just creating something very similar yourself.
The compose item is a bar button system item, not a tab bar item. I think you will run into HIG issues with it - it is typically used to summon a modal controller for you to create an item (usually a message).
That doesn't really fit as a tab bar item, which suggests a view of information that you can switch into or out of at any time.
In addition, the graphic may not be in the correct proportion or have the right properties to use in a tab bar.

TabBar app or Navigation Bar App?

i have recently started working on iPhone but i am completely confused which application is best for the programming.. i mean TabBar Application, Navigation based app or window based . As we generally need all tab bar and navigation bar in our application In that case which application i should use??? Please explain it.
Cheers
The need for a TabBar, NavBar, or Window based application is mostly subjective. This will depend on:
How you want the application to look
Whether or not you need the functionality of the nav and tab bars
Window only applications are typically the EASIEST to implement, at first, but do not provide the necessary functionality that many people are use to. Window/OpenGL based applications are ideal for games that require "full screen."
TabBar applications are perfect for applications that have several main "sections." Akin to a website that has "blog", "products", and "contact us", you can have many sections with the TabBar.
NavBar applications let you stack up additional views, one at a time, that you can transition to as necessary. A typical implementation of this is a "drill-down" menu.
Good luck!
-Kevin
If you are wondering which user interface element to use, I recommend reading the "Navigation Bars, Tab Bars, Toolbars, and the Status Bar" section of the iPhone Human Interface Guidelines.
If you're asking which application template to start from, it doesn't really matter. You won't be locked into a particular type of application if you start from a particular template. You can even start multiple templates, and copy across the relevant code and interface elements that Apple provides for you to combine functionality.

How to add a tabController to another tabController

I have a tabController-based iPhone application. First tab is associated with a table view controller. When I select a table cell I want to show another table controller view, but with different tabs on the bottom. What is the best way to do it? Change dynamically tab entries, or do it through IB? Please advise.
Thanks,
Nava
The Apple Human Interface Guidelines really advise against this.
For example, on iPhone, iPod uses a tab bar to allow users to choose which part of their media collection to focus on, such as Podcasts, artists, videos, or playlists. The Clock application, on the other hand, uses a tab bar to give users access to the four functions of the application, namely, World Clock, Alarm, Stopwatch, and Timer. Figure 6-10 shows how selecting a tab in a tab bar changes the view in Clock. Notice how the tab bar remains visible in the different Clock modes shown in Figure 6-10. This makes it easy for users to see which mode they’re in, and allows them to access all Clock modes regardless of the current mode.
What you're thinking of doing might be possible with toolbars.
BTW, I found the best and the cleanest way to do that thanks to Rufus - iPhone Beta Dev Forum contributor: you can change the views of root tabbarcontroller anytime you want, also you can change tabbaritems title & icons. So actually I don't need 2 tabbarcontrollers, instead i change the existing one, setting its views & tabbaritems of views accordingly.