I have a UILabel object in my UIView. I want to let this lable moving respectively when its super view size changes. This is like the old UIViewAutoresizingFlexibleTopMargin, UIViewAutoresizingFlexibleRightMargin, UIViewAutoresizingFlexibleBottomMargin and UIViewAutoresizingFlexibleLeftMargin, so that if the superview height changed, the label top margin would change respectively, and the same for left margin.
How to do this with Autolayout not the old autoresizingmask?