Custom TabBar

Hello Everyone,


How would you go about creating a custom TabBar? with custom images (icons), sizing, shape, and distance? Thank you in advance!

Replies

You could subclass tabbar.


have first a look here :

h ttps://medium.com/@werry_paxman/bring-your-uitabbar-to-life-animating-uitabbaritem-images-with-swift-and-coregraphics-d3be75eb8d4d


Or this one:

h ttps://makeapppie.com/2014/09/09/swift-swift-using-tab-bar-controllers-in-swift/

How to assign a subclass to UITabBarController?

Create UITabBarController Subclass - Xcode menu: File -> New -> File -> Cocoa Touch Class


Then name, choose what it is a subclass of, and select your language.