Skip to content

Commit 9dee565

Browse files
Copilot CICopilot
andcommitted
[release/10.0.1xx-sr10] Restore native iOS 26 TabBar behavior (#37542)
Backport the isolated four-file Shell payload from #37542 without its unrelated inflight branch history. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7c52324 commit 9dee565

4 files changed

Lines changed: 0 additions & 9 deletions

File tree

src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/XFIssue/Issue7396.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ public Issue7396(TestDevice testDevice) : base(testDevice)
2020
[Category(UITestCategories.Shell)]
2121
public void BottomTabColorTest()
2222
{
23-
if (App is AppiumIOSApp iosApp && HelperExtensions.IsIOS26OrHigher(iosApp))
24-
{
25-
Assert.Ignore("Ignored due to a bug issue in iOS 26"); // Issue Link: https://github.com/dotnet/maui/issues/32125
26-
}
27-
//7396 Issue | Shell: Setting Shell.BackgroundColor overrides all colors of TabBar
2823
App.WaitForElement(CreateBottomTabButton);
2924
App.Tap(CreateBottomTabButton);
3025
App.Tap(CreateBottomTabButton);
50.4 KB
Loading
41.1 KB
Loading

src/Core/src/Platform/iOS/TabbedViewExtensions.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ internal static void UpdateiOS15TabBarAppearance(
5050
if (effectiveBarColor != null)
5151
{
5252
_tabBarAppearance.BackgroundColor = effectiveBarColor;
53-
if (OperatingSystem.IsIOSVersionAtLeast(26))
54-
{
55-
tabBar.BackgroundColor = effectiveBarColor;
56-
}
5753
}
5854

5955
// Set BarTextColor

0 commit comments

Comments
 (0)