Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28505] iOS: TabGroup tab bar is transparent instead of translucent on iOS 15

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2021-08-24T15:28:58.000+0000
Affected Version/sn/a
Fix Version/sRelease 10.1.0
ComponentsiOS
LabelsTabGroup, iOS, tabs
ReporterJoshua Quick
AssigneeJoshua Quick
Created2021-07-08T22:32:31.000+0000
Updated2021-11-04T00:11:34.000+0000

Description

*Summary:* On iOS 15, the TabGroup's bottom tab bar is completely transparent now and is no longer translucent/semi-transparent. The issue with this are: * The tab title/icons are harder to see. * Can no longer change bottom tab bar color. _(But you can still tint the tab title/icon.)_ *Tab Bar Translucency Bug:*

Create Classic app project from template (provides tab icons).

Replace "app.js" with attached [^TabGroupColorWindowTest.js] .

Build and run on iOS 15.

Notice bottom tab bar is 100% transparent instead of semi-transparent.

Notice you can't see inactive tab titles or icons.

||iOS 14||iOS 15|| | !TabGroup-Translucent-iOS14.png|thumbnail! | !TabGroup-Translucent-iOS15.png|thumbnail! | *Tab Bar Color Bug:*

Create Classic app project from template (provides tab icons).

Replace "app.js" with attached [^TabGroupColorSharedTest.js] .

Build and run on iOS 15.

Notice bottom tab bar is *NOT* green. _(The "tabsBackgroundColor" property is ignored.)_

||iOS 14||iOS 15|| | !TabGroup-Colored-iOS14.png|thumbnail! | !TabGroup-Colored-iOS15.png|thumbnail! | *Cause:* Apple has made breaking-changes to the "appearance" object configured on a UITab where it defaults to configureWithTransparentBackground instead of configureWithDefaultBackground like iOS 14 and older. Also, we need to configure the scrollEdgeAppearance property now.

Attachments

FileDateSize
TabGroup-Colored-iOS14.png2021-07-08T21:56:16.000+0000866001
TabGroup-Colored-iOS15.png2021-07-08T21:56:15.000+0000846050
TabGroupColorSharedTest.js2021-07-08T21:55:52.000+0000642
TabGroupColorWindowTest.js2021-07-08T21:55:52.000+0000549
TabGroup-Translucent-iOS14.png2021-07-08T21:56:17.000+0000913014
TabGroup-Translucent-iOS15.png2021-07-08T21:56:17.000+0000836613

Comments

  1. Joshua Quick 2021-07-09

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/12946
  2. Joshua Quick 2021-07-19

    This is not an issue with Xcode 13 beta 3. It's only an issue with beta 1 and 2. Looks like Apple changed the defaults to be backward compatible.
  3. Joshua Quick 2021-08-19

    This issue came back when I tested it with Xcode 13 beta 5.

JSON Source