I love my IPad.
This leg I was in the copilots seat.
Even though I was not flying I still do CLEAROFF checks.
I noticed that the compass and the HSI were no longer aligned!
The cause I had rested my IPAD on the dashboard - sunvisor shelf above the compass.
BEWARE
I show a video where I place my IPad on the dashboard and then remove it.
compass - YouTube