views:

19

answers:

0

Hi,

I have a UIView with a NIB. The view in the NIB is set to 280 x 390.

When I add the View inside another view I "something" do this

view_name *view = [view_name alloc] initWithFrame:CGRectMake(0, 0, 280.00, 390.00) ];

[outer_view addSubview: view];

Now in certain instances I need to make the view smaller as there is other content on the page. I tried to change the initWithFrame variables but it does not work.

How can I do this? Cheers!