I am looking for a way to get barometric pressure data (not altitude) every 10 or so minutes while the app is in the background or while another app is running in the foreground. Is this possible? If so, how?
If not, then how do apps like Pressur work?
Core Motion gives you CMAltimeter. CMAltimeter gives you CMAltitudeData. CMAltitudeData gives you
pressure
.(Running in the background is another matter; you cannot run in the background merely in order to use Core Motion, so you'll have to find some other reason to run in the background.)