Skip to content

Conversation

@kligarski
Copy link
Contributor

@kligarski kligarski commented Oct 20, 2025

Description

Fixes setting tint color for the tab bar on iPadOS (>= 18).

Simulator Screenshot - iPad Pro 13-inch (M4) - 2025-10-20 at 14 09 05

tabBar.tintColor does not work for the floating tab bar. Apple recommends setting the tint color for the UITabBarController's view - that's what we do in this PR.

Unfortunately, when using the sidebar, tint color is set after a delay. This is also reproducible in a native UIKit app and has been mentioned in the same forum thread from the link above to happen in native iPadOS apps (e.g. Numbers).

Simulator.Screen.Recording.-.iPad.Pro.13-inch.M4.-.2025-10-20.at.14.05.43.mov

Changes

  • set tint color for tabBarController.view

Test code and steps to reproduce

Run TestBottomTabs on an iPad.

Checklist

  • Included code example that can be used to test this change
  • Ensured that CI passes

Copy link
Member

@kkafar kkafar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kligarski kligarski merged commit 4eeae14 into main Oct 21, 2025
6 checks passed
@kligarski kligarski deleted the @kligarski/fix-tab-bar-tint-color-ipad branch October 21, 2025 10:29
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

Successfully merging this pull request may close these issues.

4 participants