Avoid using a segmented control in a toolbar

Hi,

in the Human Interface Guidelines, Apple writes:

Avoid using a segmented control in a toolbar. Toolbar items act on the current screen — they don’t let people switch contexts like segmented controls do.

Along with this image:

Source

I'm confused by this example. The screenshot seems to be showing a segmented control in a toolbar.

Is this saying that the Phone app's All/Missed toggle is different from a segmented control? Under iOS 26 it seems to take a different style compared to a regular segmented control. If so, which component is used to create this filter?

Could you please clarify the guidelines? Thank you.

I think what they say is that you are advised to use TabView (in SwiftUI) if you are going to switch the entire content of the view. The Phone app seems to use a segmented control. (But who knows!?) Yet, it's used to filter the list content. Whatever it is isn't changing the entire content of the view.

Avoid using a segmented control in a toolbar
 
 
Q