Trouble in making hidden button Visible
<p>Following code i am writing to hide some buttons in viewDidLoad. Here Buttons Are hiding</p>

<pre><code>- (void)viewDidLoad
{
 for (int i = 100; i&lt;117; i++) 
    {
        UIButton *smileyButton = (UIButton *)[scroll viewWithTag:i];
        UITextField *smileyFields = (UITextField *)[scroll viewWithTag:i];
        UIImageView *smileyImage = (UIImageView *)[scroll viewWithTag:i];
        smileyFields.hidden = YES;
        smileyButton.hidden = YES;
    }  
}
</code></pre>

<p>Now in Following Action am making Buttons Visible. But buttons are not Visible</p>

<pre><code>-(IBAction)editButton:(id)sender
{
 for (int i = 100; i&lt;117; i++) 
    {
        UIButton *smileyButton = (UIButton *)[scroll viewWithTag:i];
        UITextField *smileyFields = (UITextField *)[scroll viewWithTag:i];
        UIImageView *smileyImage = (UIImageView *)[scroll viewWithTag:i];
        [smileyFields setHidden:NO];   //TextFields Not Visible 
        [smileyButton setHidden:NO];  //Buttons Not Visbile
   }

}
</code></pre>
