Ramotion / animated-tab-bar

:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion
https://www.ramotion.com/animated-tab-bar-ios-app-development-ui-library/
MIT License
11.12k stars 1.33k forks source link

Increase TabBar Height #307

Open Ayush21082 opened 1 year ago

Ayush21082 commented 1 year ago

How can I increase the tab bar height?

I've tried this, but it is not changing.

override func viewWillLayoutSubviews() {
    super.viewWillLayoutSubviews()

    var tabFrame = tabBar.frame
    tabFrame.size.height = 80 //Set the desired height here
    tabFrame.origin.y = view.frame.size.height - tabFrame.size.height
    tabBar.frame = tabFrame
}