Instance Property

tag

An integer that you can use to identify view objects in your application.

Declaration

@property(nonatomic) NSInteger tag;

Discussion

The default value is 0. You can set the value of this tag and use that value to identify the view later.

See Also

Identifying the View at Runtime

- viewWithTag:

Returns the view whose tag matches the specified value.