Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to Animate UIView

    • 0
    • 2
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 431
    Comment on it

    The following code sets the desired frame to a view with animation. The animation is performed with a duration of 0.4 secs (can be set according to the requirement).

    [UIView animateWithDuration:0.4 animations:^{
    
            [animateView setFrame:frame];
    
        } completion:^(BOOL finished) {
    
            NSLog(@"is finished== %d", finished);
        }];
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: