Without Autolayout you can't do any suffisticated layout out of the box.
You would have to write a custom subclass for MyView
. You then overwrite it's layoutSubviews
(this is beeing called everytime the view's frame changes) to reposition and resize your subviews.
@interface MyView : UIView
@property (weak, nonatomic) IBOutlet UIImageView *iv1;
@property (weak, nonatomic) IBOutlet UIImageView *iv2;
@property (weak, nonatomic) IBOutlet UILabel *label1;
@property (weak, nonatomic) IBOutlet UILabel *label2;
//...
@end
@implementation MyView
- (void)layoutSubviews
{
CGRect frame = self.iv1.frame;
frame.origin.x = someValue * self.bound.size.width;
frame.origin.y = ...;
self.iv1.frame = frame;
...
}