JavaCake
JavaCake

Reputation: 4115

How to add custom TabBarItem to Tab Bar Controller

I am using the Storyboard in XCode to design my Views. Also im using the Tab Bar Controller in the editor, but i cannot seem to figure out how i can add a custom item which i can use for UIPopoverController.

Is it possible or do i have to create this controller programmatically and add it?

Upvotes: 0

Views: 3637

Answers (1)

danielbeard
danielbeard

Reputation: 9149

The apple documentation states that you shouldn't subclass UITabBarController, however, you could use a custom implementation like one of the ones found here:

http://cocoacontrols.com/platforms/ios/controls/altabbarcontroller

http://cocoacontrols.com/platforms/ios/controls/center-button-in-tab-bar

EDIT: This website appear to have exactly what you want - http://idevrecipes.com/2010/12/16/raised-center-tab-bar-button/

Upvotes: 1

Related Questions