Ios compass

Using bridge.m functions to access Magnetometer.