Possible Duplicate:
How do I apply a perspective transform to a UIView?
How to change the perspective, 3D Transform, skew ,distortion, rotation of the image view? Any sample projects for this.Thanks in Advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
3D transforms, rotations, skews, etc are usually done with
CATransform3D.As per the documentation (Core Animation Programming Guide):
As an example, to do a 3D rotation towards the bottom right, you would do something like:
and don’t forget to
A fantastic sample project is Mark Pospesel’s Enter the Matrix. The code is on GitHub, also check out the explanatory slides.