Dipti Y W Dipti Y W - 3 months ago 6x
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!!