Animate movement and control with iPad

Hey,

I got working the iPad controlling with the tutorials. I try to find a way to animate camera from A to B and during the take control Tilt and Pan with iPad.

How this could be done?

Thanks