Dipti Y W Dipti Y W - 5 months ago 8
Objective-C Question

How to find the kind of subview object the view is containing in it?

I am trying to find a specific class object added as Subview to a UIView, but i could not find anything.

Can anyone help me please.

Answer
for(UIView *aView in yourView.subviews){
     if([aView isKindOfClass:[YourClass class]]){
       //YourClass found!!
}
}