Dipti Y W Dipti Y W - 8 months ago 25
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.

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