-
-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Description
On iOS 26, the SegmentedControl becomes completely invisible when placed inside a Shell.TitleView. The issue appears to be caused by layout measurement and rendering changes related to the new "Liquid Glass" UI design of the UINavigationBar.
The control can be forced to appear on the iOS 26 simulator with specific workarounds, but these workarounds fail on a physical device, where the control remains invisible. This suggests a deep issue with the native hardware rendering pipeline on iOS 26.
Steps to Reproduce
- Create a standard .NET MAUI Shell application.
- Add the Plugin.SegmentedControl.Maui NuGet package.
- In the code-behind of a ContentPage, programmatically create the SegmentedControl and place it inside a container, such as a Grid.
// Create a container with an explicit height
var titleContainer = new Grid { HeightRequest = 44 };
// Create the SegmentedControl
var segmentedControl = new SegmentedControl();
segmentedControl.Children.Add(new SegmentedControlOption { Text = "Upcoming" });
segmentedControl.Children.Add(new SegmentedControlOption { Text = "Past" });
// Add control to container
titleContainer.Children.Add(segmentedControl);
-
Set this container as the TitleView for the page.
Shell.SetTitleView(this, titleContainer); -
Deploy and run the application on a physical iPhone running iOS 26.
-
Navigate to the page and observe the navigation bar.
Expected Behavior
- The SegmentedControl should be visible and interactive within the
TitleViewof the navigation bar, as it was on iOS versions prior to 26.
Actual Behavior
- -The SegmentedControl is completely invisible on a physical device. The space for the TitleView is allocated, but the control itself is not rendered.
- Note: On the iOS 26 simulator, the control does appear if the workarounds mentioned in the steps (using a Grid with
HeightRequestand adding children immediately) are applied. The failure is specific to physical hardware.
Basic Information
- Version with issue: 1.4.36 (in iOS 26.x)
- Last known good version: 1.4.36 (on iOS 18)
Screenshots, Attachments, Links
Image with:
Screenshot 1: Correct behavior on iOS < 26.
Screenshot 2: The invisible control on a physical iPhone with iOS 26.
