public class UITabBarController extends UIViewController
Constructor and Description |
---|
UITabBarController()
The default UITabBarController constructor.
|
Modifier and Type | Method and Description |
---|---|
List<UIViewController> |
customizableViewControllers()
Returns the list of customized view controllers related to this tab bar
controller.
|
UITabBarControllerDelegate |
delegate()
Returns the delegate for this tab bar controller.
|
void |
didReceiveMemoryWarning()
Called when a memory warning arises in order to notify the view
controller.
|
void |
loadView()
Creates a view for this view controller.
|
UINavigationController |
moreNavigationController()
Returns the view controller that is responsible for the More navigation
interface.
|
int |
selectedIndex()
Returns the index of the controller related to the selected bar item.
|
UIViewController |
selectedViewController()
Returns the view controller related to the selected item.
|
void |
setCustomizableViewControllers(List<UIViewController> viewControllers)
Sets the list of customized view controllers related to this tab bar
controller.
|
void |
setDelegate(UITabBarControllerDelegate delegate)
Sets the delegate for this tab bar controller.
|
void |
setSelectedIndex(int selectedIndex)
Sets the index of the controller related to the selected bar item.
|
void |
setSelectedViewController(UIViewController selectedViewController)
Sets the view controller related to the selected item.
|
void |
setViewControllers(List<UIViewController> viewControllers)
Assigns the list of view controllers to be displayed by this tab bar
controller.
|
void |
setViewControllers(List<UIViewController> viewControllers,
boolean animated)
Assigns the list of the root view controllers to be displayed by this tab
bar controller.
|
UITabBar |
tabBar()
Returns the tab bar related to this controller.
|
List<UIViewController> |
viewControllers()
Returns the list of root view controllers displayed by this tab bar.
|
addChildViewController, additionalSafeAreaInsets, allowedChildViewControllersForUnwindingFromSource, attemptRotationToDeviceOrientation, automaticallyAdjustsScrollViewInsets, beginAppearanceTransition, bottomLayoutGuide, childViewControllerContainingSegueSource, childViewControllerForStatusBarHidden, childViewControllerForStatusBarStyle, childViewControllers, contentSizeForViewInPopover, definesPresentationContext, didRotateFromInterfaceOrientation, disablesAutomaticKeyboardDismissal, dismissModalViewControllerAnimated, dismissViewControllerAnimated, edgesForExtendedLayout, editButtonItem, endAppearanceTransition, extensionContext, hidesBottomBarWhenPushed, interfaceOrientation, isEditing, isModalInPopover, isViewLoaded, loadViewIfNeeded, modalPresentationStyle, modalTransitionStyle, navigationController, navigationItem, nextResponder, nibName, parentViewController, performSegueWithIdentifier, preferredInterfaceOrientationForPresentation, preferredStatusBarStyle, prefersStatusBarHidden, prepareForSegue, presentedViewController, presentingViewController, presentModalViewController, presentViewController, providesPresentationContextTransitionStyle, removeFromParentViewController, restorationIdentifier, rotatingFooterView, rotatingHeaderView, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditing, setHidesBottomBarWhenPushed, setModalInPopover, setModalPresentationStyle, setModalTransitionStyle, setNeedsStatusBarAppearanceUpdate, setProvidesPresentationContextTransitionStyle, setRestorationIdentifier, setTabBarItem, setTitle, setToolbarItems, setToolbarItems, setView, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutorotate, shouldAutorotateToInterfaceOrientation, shouldPerformSegueWithIdentifier, showDetailViewController, showViewController, splitViewController, storyboard, supportedInterfaceOrientations, tabBarController, tabBarItem, title, toolbarItems, topLayoutGuide, transitionFromViewController, view, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewDidUnload, viewIfLoaded, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, wantsFullScreenLayout, willAnimateRotationToInterfaceOrientation, willRotateToInterfaceOrientation
becomeFirstResponder, isFirstResponder, resignFirstResponder, touchesBegan, touchesCancelled, touchesEnded, touchesMoved
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
public UITabBarController()
public void loadView()
UIViewController
loadView
in class UIViewController
public List<UIViewController> customizableViewControllers()
public void setCustomizableViewControllers(List<UIViewController> viewControllers)
viewControllers
- The list of customized view controllers related to
this tab bar controller.public UITabBarControllerDelegate delegate()
public void setDelegate(UITabBarControllerDelegate delegate)
delegate
- The delegate for this tab bar controller.public UINavigationController moreNavigationController()
public UIViewController selectedViewController()
public void setSelectedViewController(UIViewController selectedViewController)
selectedViewController
- The view controller related to the selected
item.public int selectedIndex()
public void setSelectedIndex(int selectedIndex)
selectedIndex
- The index of the controller related to the selected
bar item.public UITabBar tabBar()
public List<UIViewController> viewControllers()
public void setViewControllers(List<UIViewController> viewControllers)
viewControllers
- The list of view controllers to be displayed by
this tab bar controller.public void setViewControllers(List<UIViewController> viewControllers, boolean animated)
viewControllers
- The list of root view controllers assigned to this
tab bar controller.animated
- TRUE the change is animated.public void didReceiveMemoryWarning()
UIViewController
didReceiveMemoryWarning
in class UIViewController
Copyright © 2020. All rights reserved.