resize uiview with UILabel and animate it correctly
I have a UIView as container with a UILabel inside like this: ------------- --------- | | | | |Label text | |Label..| | | --> | | | | | | | | | | ------------- --------- Now when I use: UIView animateWithDuration:animations: and try to set the width smaller of the UIView (which contains the UILabel) then during the animation the UILabel suddenly replace with "..." without having smooth transition to it. I setup the UILabel autoresizingmask to UIViewAutoresizingFlexibleWidth, UIViewAutoresizingFlexibleRightMargin to keep it left and set the contentmode to left. Trying other content mode like