Dipti Y W Dipti Y W - 9 months ago 27
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!!