How can i change Size of a Frame view and keep origin position? I tried with this code (but it didn\'t work):
myview.frame.size = CGSizeMake(23.0,50.0); <
Here's how to do it with just one line of code:
myview.frame = CGRectMake(23, 50, myview.frame.size.width, myview.frame.size.height);
or
[myview setFrame:CGRectMake(23, 50, myview.frame.size.width, myview.frame.size.height)];