Skip to content
Custom tab bar controller, a rewrite of BCTabBarController
Objective-C
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Sources
.gitignore
README.md

README.md

IHTabBarController

IHTabBarController is a Tweetie-style tab bar for iPhone. See below for screenshots. It is a complete rewrite of Brian Collins' BCTabBarController intended to reduce image footprint and improve readability.

Features

  • A cool little arrow that slides around to indicate the current tab
  • Support for all orientations
  • Same height as a standard UIToolbar
  • TabBar item normal and selected icons are generated from user-provided image.

Usage

  • Add IHTabBarController/Sources directory to your project.
  • Create IHTabBarController in your AppDelegate and add some ViewControllers to it:

    _tabBarController = [[IHTabBarController alloc] init];
    _tabBarController.viewControllers = [NSArray arrayWithObjects:
                                            [[[UIViewController alloc] init] autorelease],
                                            [[[UIViewController alloc] init] autorelease],
                                            [[[UINavigationController alloc] initWithRootViewController:
                                                    [[[UIViewController alloc] init] autorelease]] autorelease],
                                                    nil];
    [_window addSubview:_tabBarController.view];
  • Add - (UIImage *) tabBarImage method to all your ViewControllers

Something went wrong with that request. Please try again.