Take the 2-minute tour ×

I have several labels on my UIView that I want to change the properties on. What I would like to do is iterate through them setting/getting there values. If you are familiar with C# then it's the FindControl function I am trying to emulate.

In essence the question is how to get all the controls on a UIView so I can manipulate them.

Any help greatly appreicated.


share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

The subviews property of a UIView gives you an NSArray holding all subviews.

share|improve this answer
Fantastic thank you. –  hydev Mar 4 '11 at 13:57
add comment

Your Answer


