Adjusts the offset for drawing the content (image or text) of the specified segment.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The offset (specified as a
CGSizetype) from the origin of the segment at which to draw the segment’s content. The default offset is (0,0).
An index number identifying a segment in the control. It must be a number between 0 and the number of segments (
number) minus 1; values exceeding this upper range are pinned to it.