Is there anyone who can teach me how to show an UISegmentedControl object in vertical direction, instead of in horizontal direction?
Use a segmented control to provide closely related choices that affect an object, state, or view. For example, a segmented control can help people switch between views in a toolbar.
The UISegmentedControl object automatically resizes segments to fit proportionally within their superview unless they have a specific width set. When you add and remove segments, you can request that the action be animated with sliding and fading effects.
You can always modify the transform on the segmented control.
segmentedControl.transform = CGAffineTransformMakeRotation(M_PI / 2.0);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With