Instance Property

apportionsSegmentWidthsByContent

Indicates whether the control attempts to adjust segment widths based on their content widths.

Declaration

@property(nonatomic) BOOL apportionsSegmentWidthsByContent;

Discussion

If the value of this property is YES, for segments whose width value is 0, the control attempts to adjust segment widths based on their content widths.

The default is NO.

See Also

Managing Segment Behavior and Appearance

momentary

A Boolean value that determines whether segments in the receiver show selected state.

segmentedControlStyle

The style of the segmented control.

Deprecated
- setEnabled:forSegmentAtIndex:

Enables the specified segment.

- isEnabledForSegmentAtIndex:

Returns whether the indicated segment is enabled.

- setContentOffset:forSegmentAtIndex:

Adjusts the offset for drawing the content (image or text) of the specified segment.

- contentOffsetForSegmentAtIndex:

Returns the offset for drawing the content (image or text) of the specified segment.

- setWidth:forSegmentAtIndex:

Sets the width of the specified segment of the receiver.

- widthForSegmentAtIndex:

Returns the width of the indicated segment of the receiver.