UIView.Tag UIView.Tag Property


An integer that can be used to identify a specific UIView instance.

[get: Foundation.Export("tag")]
[set: Foundation.Export("setTag:")]
public virtual nint Tag { get; set; }
member this.Tag : nint with get, set

Property Value

The default value is 0.


The stability and uniqueness of this property is entirely the responsibility of the application developer.

Applies to