OBTabBarController 1.2

OBTabBarController 1.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



  • By
  • Oriol Blanc

OBTabBarController is an adaptive and customizable tab bar for iOS.

Features

  • Custom images and highlighted images on tabs.
  • Custom tab bar background.
  • Hide/show titles on tabs.
  • Custom enabling/disabling selection on tabs.
  • Custom behaviour when selecting tabs (e.g. present a modal view controller).

Usage

Install

We strongly encourage you to use Cocoapods. It's simple, just add the dependency to your Podfile:

platform :ios

pod 'OBTabBarController'

And then running pod install will install the dependencies.

Finally, import the header file wherever you want to use it:

#import "OBTabBarController.h"

And you are done!

Initialization

_tabBarController = [[OBTabBarController alloc] initWithViewControllers:
            @[self.firstViewController, self.secondViewController, self.thirdViewController, self.fourthViewController]
                                                               delegate:self];

Previews

iPhone portrait

iPhone portrait

What's next?

  • Support landscape mode.