how to delete the dynamic uibutton
<p>Hello
I have some codes to create dynamic button as below:</p>

<pre><code>- (void)viewDidLoad {

    for (int i = 0; i &lt; 9; i++)   
        for (int j = 0; j &lt; 8; j++) {  
            forControlEvents:UIControlEventTouchDown]; 
            UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
            button.frame = CGRectMake(10+i*34 , 130+j*30, 30 , 20 );
            [button setTitle:@"00" forState:  UIControlStateNormal];
            [button addTarget:self action:@selector(tapped:) forControlEvents:UIControlEventTouchUpInside];
            [self.view addSubview:button];
           button.tag = i;  
        } 
}
</code></pre>

<p>I hope to delete the dynamic uibuttons and recreate them.</p>

<p>How can I do</p>

<p>Welcome any comment.</p>

<p>Thanks 
interdev</p>
