I am currently studying UITabBarController in Apple doc but I haven’t clear what is the tab bar interface. Could you explain me this concept? Thank you in advence.
I am currently studying UITabBarController in Apple doc but I haven’t clear what is
Share
From Apple doc:
The tab bar interface is composed by two different parts at glance: a view and the tab bar. The latter is a sort of navigation bar (that is collocated at the bottom of the window) where it’s possible to find different tabs. The tab bar interface has a radio-style selection interface: it means that only one tab can be selected each time. In Apple documentation the tab bar is the bar where you can find tabs named "World Clock", "Alarm", etc. The former instead is the view attached with the
UITabBarController(UITabBarControlleris aUIViewController).The behaviour of the
UITabBarControlleris quite straight. This controller can containsUIViewControllerelements. When you create a newUITabBarControllerand add to it aUIViewController, the view of thatUIViewControlleris attached the view of theUITabBarController.You can change the current visible content (the bar remains visible) selecting a specific tab in the bar. When you do this, the
UITabBarControllerretrieves theUIViewControllerassociated with that tab and presents its view as the current visible content in yourUITabBarController.Hope it helps.