开发者

looping through controls in objective c

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.

开发者_JAVA技巧

Mike


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜