Because your iPhone is a computer, it has a GPS, and it does the calculation for you.
A well equipped aircraft can do the same thing, if the pilot wants it to.
Still, a simple compass doesn't break easily, and doesn't require electricity.
KISS.
Learn it. Live it. Love it.
Ah, a voice of reason finally.