I have been playing around with iPhone interface building using only code and not using IB.
Now I\'m facing the following problem:
How can I set an image to
You probably want this:
[myImageView setAutoresizingMask:UIViewAutoresizingFlexibleWidth];
That will keep the margins static and resize the width.