The iPhone uses an AKM AK8973 3 axis sensor It's roughly an 8 bit device (it's a bit tricky, because you can set offset and gain for the raw sensor, and it needs temperature compensation)... So, roughly 1-2 degree accuracy.