Instance Property

duration

Returns the time interval used to display an animated image.

Declaration

@property(nonatomic, readonly) NSTimeInterval duration;

Discussion

For a non-animated image, the value of this property is 0.0.

See Also

Image Attributes

imageOrientation

The orientation of the receiver’s image.

UIImageOrientation

A value describing the intended display orientation for an image.

flipsForRightToLeftLayoutDirection

A Boolean value that indicates whether the image should flip in a right-to-left layout.

resizingMode

The resizing mode of the image.

UIImageResizingMode

Specifies the possible resizing modes for an image.

capInsets

The end-cap insets.

alignmentRectInsets

The alignment metadata used to position the image during layout.

symbolImage

A Boolean value indicating whether the image is vector-based.