Skip to content

Conversation

@prince-0408
Copy link
Contributor

Fixes #571

Updates the tab bar appearance logic in AppDelegate to ensure correct behavior on iOS versions below 26.

Screenshot 2026-01-05 at 11 31 06 AM

@github-actions
Copy link

github-actions bot commented Jan 5, 2026

Thank you for the pull request! 💙

The Scribe-iOS team will do our best to address your contribution as soon as we can. If you're not already a member of our public Matrix community, please consider joining! We'd suggest that you use the Element client as well as Element X for a mobile app, and definitely join the General and iOS rooms once you're in. Also consider attending our bi-weekly Saturday dev syncs. It'd be great to meet you 😊

Note

Scribe uses Conventional Comments in reviews to make sure that communication is as clear as possible.

@github-actions
Copy link

github-actions bot commented Jan 5, 2026

Maintainer Checklist

The following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :)

  • Tests for changes have been written and the CI unit test, linting and formatting workflows within the PR checks do not indicate new errors in the files changed

  • The CHANGELOG has been updated with a description of the changes for the upcoming release and the corresponding issue (if necessary)

didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
// Override point for customization after application launch.
if #available(iOS 13.0, *) {
Copy link
Member

Choose a reason for hiding this comment

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

question: Why are we targeting iOS 13.0 for this. Shouldn't it be iOS 26?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

On iOS 26 and newer, the system already applies the correct appearance automatically, so this code effectively becomes a no-op there.
On iOS 13–18, it ensures consistent, non-transparent tab bar behavior

if #available(iOS 13.0, *) {
let appearance = UITabBarAppearance()
appearance.configureWithOpaqueBackground()
appearance.backgroundColor = .white
Copy link
Member

Choose a reason for hiding this comment

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

note: For dark mode we have a different color for the tab bar. Based on the Figma designs, it should be white or black.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay I'll work on that

Copy link
Member

@andrewtavis andrewtavis left a comment

Choose a reason for hiding this comment

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

praise: All's working great here now, @prince-0408 😊 Thanks for the quick work and reactions to the review! :) :)

@andrewtavis andrewtavis merged commit 78aa9f3 into scribe-org:main Jan 8, 2026
3 checks passed
catreedle pushed a commit to catreedle/Scribe-iOS that referenced this pull request Jan 9, 2026
* Fix tab bar appearance on iOS < 26

* Fix tab bar appearance on iOS < 26 and adapt colors for light/dark mode

* Minor comment edits

---------

Co-authored-by: Andrew Tavis McAllister <[email protected]>
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.

App tab bar appearance should be reactive to iOS <26

2 participants