Instance Property

zIndex

The element’s position on the z axis.

Declaration

@property NSInteger zIndex;

Discussion

Use this property to specify the front-to-back ordering of items during layout. Items with higher index values appear on top of those 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 element.

size

The size of the element.

alpha

The transparency of the element.

hidden

A Boolean value indicating whether the element is hidden.