I want to use the same effect Apple uses in iOS5 for showing new notifications (this flip-in effect). But I don’t know how to start or what to google for. Could somebody please give me a hint?
Thanks!
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.
Create two
CALayers. One aligned normally along the x and y axis, the other rotated around the x axis so that it “lies flat”, i.e. its surface points down along the y axis.Then rotate both layers by 90 degrees along the x axis. At the end of the rotation, the first layer will now “lie flat”, pointing upward along the y axis and the second layer will be aligned normally along the x and y axes.