HugeTabBarButton 0.2

HugeTabBarButton 0.2

Maintained by Marek Fort.

  • By
  • Marek Fort


CI Status Version License Carthage Compatible

HugeTabBarButton lets you create huge images for your UITabBarItems.



SwipeViewController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'HugeTabBarButton'


If you use Carthage, add this to your Cartfile:

github "fortmarek/HugeTabBarButton"

How it Works

It's quite simple, really! To create a huge image, just create a UIViewController like this:

let hugeTabBarItem = UITabBarItem()
hugeTabBarItem.image = UIImage(named: "HugeImage")
hugeTabBarItem.imageInsets = UIEdgeInsets(top: -20, left: 0, bottom: 20, right: 0)
hugeTabBarItem.title = "Huge"
tabBarViewController.tabBarItem = hugeTabBarItem

Basically what you need to do is change the imageInsets and HugeTabBarButton will then register the tap wherever your image is. Easy! 😎