Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8394239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:00:18+00:00 2026-06-09T20:00:18+00:00

I need to give some stretch & skew animation to a UIView upon pressing

  • 0

I need to give some stretch & skew animation to a UIView upon pressing a button or completion of a task.

Most of the animation applied to UIView are usually applied when they are added to or removed from a UIView but how can I accomplish that with a view already added to view.

Animation could be anything as long as it catches users attention (to indicate that the task was completed).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T20:00:19+00:00Added an answer on June 9, 2026 at 8:00 pm

    EDIT How to scale and rotate a view in a single animation

    You might need use Core Animation and add both animations in a group:

    CABasicAnimation *stetchAnimation = [CABasicAnimation animationWithKeyPath:@"transform.scale.x"];
    stetchAnimation.toValue = [NSNumber numberWithDouble:(someView.frame.size.width+100)/someView.frame.size.width];
    
    CABasicAnimation *skewAnimation = CABasicAnimation animationWithKeyPath:@"transform.rotation.x"];
    stetchAnimation.toValue:[NSNumber numberWithInt:180];
    
    //Add both animation at time when task is completed
    
    CAAnimationGroup *animationGroup = [CAAnimationGroup animation];
    animationGroup.animations = [NSArray arrayWithObjects:stetchAnimation,skewAnimation,nil];
    animationGroup.removedOnCompletion = YES;
    animationGroup.fillMode = kCAFillModeForwards;
    animationGroup.duration = 0.7; // increase duration if needed
    
    [someView.layer addAnimation:animationGroup forKey:@"animations"];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Anybody please give some useful links on this topic.i need to create a content
I am developing an application for iPhone.I need to give some labels an emboss
I'm at a fork in the road. I need somebody to give me some
I need open a window to give some data to the addon like a
I have a UIimageView and I need to give some perspective to the image.
I have a java code, where I give some variable dynamically. I need to
I need to give this account some write permisison. Is the account Network_User?
I need some piece of software that will fulfill the following functions: 1. Give
I have bulk images inside a div element so I need to give some
I am developing an android application in which i need to give some features

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.