I could easily spend hours (if not days) trying to figure it out (I’ve already spent several hours at this !!!)
I have a UIView that contains subviews (see attached graphics) and is built before it is added as a routine to anything.

At a certain point in time, I add it as a subheading view in a UITableViewCell. I'm calling
[tableViewCell.contentView addSubview:mySubview]
and when I initialize my subtitle, I:
[self setAutoresizesSubviews:YES]
From my graphic it is clear that I assume that only the width changes. What do I need to do to get mySubview's right-hand sub-point to expand to full width while preserving the original origin?
I could easily approach all this in my thoughts, and I welcome any suggestions!
EDIT Thank you very much for your help, Khanh Nguyen
So, as I said, when I initialize v1 (and, by definition, v2), I do not know the size of v1.
When I know the boundaries, I want to host v1, I assume I can do something like this:
[v1 setBounds:(some CGRECT)]; v2.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleBottomMargin;
or C I just install autoresizingMask on v2 as soon as I create it (when I don't know the size of v1 yet)?