I am Having a Subview Which Needs to be resize after Hiding some Elements from this Subview
i can do this by setting the Frame but i wants to use the class property autoresizesSubviews
so can anybody help me how to use this with a example .
I am Using in this way
But it is Not Working
[lbl setHidden:TRUE];
[txt setHidden:TRUE];
[txt setHidden:TRUE];
addView.autoresizesSubviews=TRUE;
[self.view addSubview:addView];
well, If you are aware of the frame size, you can make use of UIView’s bound or frame properties