Linux world
Linux world

Reputation: 3768

how can i disable label or label from ib after displaying text on to it

hi i would like to ask one intresting question i should disable or remove label from my view when certain event ocuurs how can i disable it can any one give me a syntax for that one i hope i will get answer

Upvotes: 0

Views: 133

Answers (1)

Jack
Jack

Reputation: 133577

If you want to do it in your program just use label.hidden = YES or label.enabled = NO if you want just to make it unclickable (while keeping its text, also if dimmed)

Upvotes: 1

Related Questions