ios - UILabel animate the width -


How do we like to animate the width of UILabel so that it's in width Thanksgiving for your help using the rising and curves only using UIView animateWithDuration

(I am very disappointed at this time because I was trying to do this But this does not work)

You set the frame of UILabel Can block the UIView animation. Something like this: CGRTA basicframe = self.address.frame; [UIView animated dislocation: 0.3 animation: ^ {self.myLabel.frame = CGRectMake (0, 0, 100, 100); } Closing: ^ (BOOL Finish) {// Similar UIView Animation Returning to Original}];

Obviously, the dimensions in your feeds will depend on your app, and can be calculated based on the content.

Comments