Make the UIView Auto resize after Hiding some elements from the view
<p>I am Having a Subview Which Needs to be resize after Hiding some Elements from this Subview      </p>

<p>i can do this by setting the Frame but i wants to use the class property <strong>autoresizesSubviews</strong></p>

<p>so can anybody help me how to use this with a example .</p>

<p>I am Using in this way 
But it is Not Working </p>

<pre><code>[lbl setHidden:TRUE];
[txt setHidden:TRUE];
[txt setHidden:TRUE];
 addView.autoresizesSubviews=TRUE;
[self.view addSubview:addView];
</code></pre>
