Xcode 26 Beta1 UISegmentedControl can't change value

I create new Xcode Project, and only add segment control.

Can't change segment value when tap segment.

And selected segment title always is white.

No attributes were modified.

Are you using storyboard or did you programmatically add the segment control to your view?

Could you also include code snippets that reproduces the issue? This would assist in investigating the problem.

I have this problem too. But it is way more complicated and weird. This can be seen more easily when the control has more than only 2 segments.

First of all, if the very first segment is currently selected, then (and only then), you can successfully tap and select another segment. If the first segment is currently not selected, any tap on any segment will always select the first segment. So you would always need to tap two times on a segment to actually select it.

Second, the label of the currently selected segment is almost never visible. The only exception is the falsely selected first segment if you actually tried to select another segment.

And the new "liquid glass element" effect when dragging the selection between the segments (instead of just tapping) also almost never works.

In my case, the UI is defined via Storyboard. So you can reproduce this issue with no code at all. Just put a UISegmentedControl in the view of the ViewController of a newly created App and keep the App template that was created by Xcode unchanged.

I've already send a bug report: FB18336315

I tested (with segmented control in storyboard) and noticed several issues:

  • if behaviour for both segments is "Enabled" and "non selected"

  • I cannot switch from First to second
  • the title disappears, hidden by a white mask

  • if first segment selected (in storyboard)
  • when selected second, its title is hidden
  • I can slide a first time and everything displays OK

  • I can swipe back to first

  • But title of first is hidden as well

  • If I select first by clicking, cannot swipe anymore…

Note: this issue of title hidden when item selected occurs also with tabbar buttons.

There seems to be some minor improvements with Xcode 26.0 ß2.

Notably, during swipe, the segment no more hidden.

But when released, its title still hidden by a white front.

Not clear whether the issue is in:

  • Xcode
  • simulator
  • iOS 26
Xcode 26 Beta1 UISegmentedControl can't change value
 
 
Q