Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This is a custom tab bar controller using images for buttons and a popup for the more button
branch: master

This branch is 5 commits behind consumerreports:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
CRTabBar.xcodeproj
CRTabBar
CRTabBarTests
.DS_Store
README.md
Screenshot.jpg
Screenshot2.jpg

README.md

CRTabBarController

This is a custom container view controller for iOS 5 that works just like a regular UITabBarController, except the tabs are at the buttom and the more button expands up instead of taking you to a new table controller.

Screenshot Screenshot

To use:

Declare your app delegate @interface CRTabBarAppDelegate : UIResponder

And setup your controllers

 UIViewController *crCategoriesslidingViewController = [[UIViewController alloc] init];
UINavigationController *categoriesNavigationController = [[UINavigationController alloc] initWithRootViewController:crCategoriesslidingViewController];
UITabBarItem* tabBarItem = [[UITabBarItem alloc] init];
[tabBarItem  setFinishedSelectedImage: [UIImage imageNamed: @"ICN_home_ON"]
          withFinishedUnselectedImage: [UIImage imageNamed: @"ICN_home"]];
[categoriesNavigationController setTabBarItem: tabBarItem];
[viewControllers addObject:categoriesNavigationController];

The case above is a view controller wrapped in a navigation controller so we can push other views if we want to from the controller that was loaded.

The code is a compulation of

https://github.com/hollance/MHTabBarController/

And

https://github.com/brendandixon/ExpandableTabBar

Thanks to Joe Scarano http://joescarano.com/ For the tab bar images.

Something went wrong with that request. Please try again.