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

fix: [iPadOS 18] Disable the new UITabBarController view style in iPadOS 18 #7947

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maheshwaripurvesh
Copy link

@maheshwaripurvesh maheshwaripurvesh commented Dec 15, 2024

Description

Since iPadOS 18, the Bottom Tab Bar on iPads is now positioned at the top of the screen, floating over the content, instead of at the bottom. This may be the feature by Apple in new version however creating poor user experience

Fix

  1. Check the ios18 and iPad variant
  2. If above condition statisfy, apply following

    .traitOverrides.horizontalSizeClass = UIUserInterfaceSizeClassUnspecified;

This will disable the new UITabBarController view style in iPadOS 18

References

Announcement: https://developer.apple.com/design/human-interface-guidelines/tab-bars#iPadOS

@maheshwaripurvesh maheshwaripurvesh changed the title fix: alternate bottomTab to look like before iPadOS 18 fix: [iPadOS 18] alternate bottomTab position back to bottom Dec 15, 2024
@maheshwaripurvesh maheshwaripurvesh changed the title fix: [iPadOS 18] alternate bottomTab position back to bottom fix: [iPadOS 18] Disable the new UITabBarController view style in iPadOS 18 Dec 15, 2024
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.

1 participant