Instance Property

zIndex

Specifies the item’s position on the z axis.

Declaration

@property(nonatomic) NSInteger zIndex;

Discussion

This property is used to determine the front-to-back ordering of items during layout. Items with higher index values appear on top of items with lower values. Items with the same value have an undetermined order.

The default value of this property is 0.

See Also

Accessing the Layout Attributes

frame

The frame rectangle of the item.

bounds

The bounds of the item.

center

The center point of the item.

size

The size of the item.

transform3D

The 3D transform of the item.

transform

The affine transform of the item.

alpha

The transparency of the item.

hidden

Determines whether the item is currently displayed.