Inserts a segment at a specified position in the receiver and gives it an image as content.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
An image object to use as the content of the segment.
An index number identifying a segment in the control.
segmentmust be a number in the range 0 to the number of segments (
number) inclusive; values exceeding this upper range are pinned to it.
The new segment is inserted just before the designated one.
YESif the insertion of the new segment should be animated, otherwise