If you want to rotate an object using core animation, in radians, in the z axis, which of the following key paths of layer’s CATransform3D matrix will you use? (more than 1 options can be right).
- rotation
- rotation.xy
- rotation.x
- rotation.y
- rotation.z
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.
Not totally clear about the options you gave, but I use the code below to do rotation:
It is rotated in y axis(so, the view will change in z direction), you can set the rotation for other axis by setting the params below: