iOS code to measure temperature