Home>

I am currently studying Swift. It seems that Segmented Control only supports horizontal direction, but can I customize it to display vertically?

Supplemental information (FW/tool version etc.)

Swift5
Xcode 10.3

  • Answer # 1

    Segmented Control is supported only in the horizontal direction by default.

      

    https://developer.apple.com/documentation/uikit/uisegmentedcontrol
      A horizontal control made of multiple segments, each segment functioning as a discrete button.

Related articles