Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase TabBar Height #307

Open
Ayush21082 opened this issue Apr 14, 2023 · 0 comments
Open

Increase TabBar Height #307

Ayush21082 opened this issue Apr 14, 2023 · 0 comments

Comments

@Ayush21082
Copy link

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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant