Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacSafe

macrumors 6502
Original poster
Jun 8, 2015
292
49
Hi
i started to learn swift and i want to know how to get access to the iphone temperature. if anyone could help me i will appreciate that.
Thank you.
(I'm sorry if this is not this place for this kind of questions...)
 
Hello,
There is no way to access the internal temperature sensors on an iPhone.
 
Thank you for you replay
I saw an app named "battery life" that can show the temperature.

There's tweak that can be applied to a jailbroken phone to make it show the temperature.
And most likely a 'non-approved' way to accessing the temperature with software, but it may require a third party library.
If you Google, you may find it, just that if you try to release such app to the App Store it will get denied.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.