How to check if subview is button or not
<p>Iam developing one application.In that i get the all the sub views of uitableview cell.The code for this one is</p>

<pre><code> - (void)listSubviewsOfView:(UIView *)view {

// Get the subviews of the view
     NSArray *subviews = [view subviews];

// Return if there are no subviews
if ([subviews count] == 0) return;

for (UIView *subview in subviews) {

    NSLog(@"%@", subview);

    // List the subviews of subview
    [self listSubviewsOfView:subview];
}
</code></pre>

<p>}
But my problem is how to find out button from that sub views.Please tell me how to solve this one.</p>
