[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I chain several animations together in objective c?

Posted on 2012-09-12
1
Medium Priority
?
608 Views
Last Modified: 2012-10-18
How do I chain several animations together in objective c? say I want this picture to do rotate first and then scale and then flip.

Please show me the code and I want it to be easily maintainable.
0
Comment
Question by:charmingduck
1 Comment
 
LVL 15

Accepted Solution

by:
Hamidreza Vakilian earned 900 total points
ID: 38393174
[UIView animateWithDuration:1 animations:^{
        //first animation codes here
    } completion:^(BOOL finished) {
        //second animation codes here (you may use another animateWithDuration:animations:completion here to get more & more animations...
    }];
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wanted to watch videos in your computer from the bed without the need of standing up and shutting down the computer?  Is your computers operating system Windows XP, Windows Vista or Windows 7?  Do you own a iOS device? If all the answers were y…
The release of the iPhone 6 and the iPhone 6 Plus was extremely successful for Apple. However when iOS 8.1 was introduced, many iPhone users complained of quick battery drainage. Without even knowing, you may be unnecessarily using up your battery p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question