views:

47

answers:

1

i insert 2 UIImageView with tag 1 and 100 to UIView,

how to access to UIView and check how many subview on it or select tag 1 to be the top of view ?

+1  A: 

"check how many subview on it"

[myView.subviews count];

"or select tag 1 to be the top of view"

[myView bringSubviewToFront:[myView viewWithTag:1]];
Ole Begemann
thanks Ole Begermann let me try
RAGOpoR