Search code examples
iphoneiosobjective-ccore-animation

Animate/Rotation/translation view on axis when user move finger on screen


i am working on animation app which requires animation in 3D, as normal animation we can do it via core animation/ quartz-core but i need 3D with anchor point animation.

can anyone suggest me any way? so i can catch the solution.

thanks


Solution

  • Changing the anchorPoint of your view's layer affects the position necessarily. Here is the excellent explanation in response to this question.

    Changing my CALayer's anchorPoint moves the view