Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ios pressure sensor API

Tags:

ios

sensors

In android we can use Sensor TYPE_PRESSURE to measure the atmospheric pressure.

Is there any API that is available in iOS for the same purpose. How can this be achieved in iOS?

Any help appreciated

like image 707
user682765 Avatar asked Jun 22 '26 12:06

user682765


1 Answers

No, because no iOS device ships with a barometer. The best you could do would be find some site API that takes GPS co-ordinates and returns the current pressure at ground level there from normal weather observations.

like image 157
Adam Wright Avatar answered Jun 24 '26 02:06

Adam Wright



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!