How to move tab bar icons down in iOS

Issue #250

UITabBarItem subclasses from UIBarItem which has imageInsets. We need both top and bottom to avoid shrinking

viewController1.tabBarItem.imageInsets = UIEdgeInsets(top: 10, left: 0, bottom: -10, right: 0)
Written by

I’m open source contributor, writer, speaker and product maker.

Start the conversation