Big Sur - Segmented Control

This is to SAM…

iOS doesn’t use Segmented Controls and Big Sur seems to be iOS inspired.

Did you mean… most developers don’t USE it, or that iOS doesn’t HAVE it… Because it does…

here is a simple example

func getUISegmentedControl() -> UISegmentedControl {
		let temp=UISegmentedControl(frame:CGRect(x:10,y:50,width:300,height:40))
		temp.insertSegment(withTitle:"Segment #1", at:0, animated:false)
		temp.insertSegment(withTitle:"Segment #2", at:1, animated:false)
		temp.layer.borderColor         =
		let font: [AnyHashable : Any] = [NSAttributedStringKey.font : UIFont.systemFont(ofSize:textSize)]
		temp.setTitleTextAttributes(font, for: .normal)
		temp.selectedSegmentIndex      = 1
		temp.addTarget(self, action: #selector(segmentedControlAction(_:)), for: .valueChanged)
		return temp


Must be that.

There used to many different styles for Segmented Controls on the macOS, now most of them either look like the screenshot you posted or worse. There’s one style which has no different if the segmented is selected or not. I was hoping that these might get fixed…