Re-add iphone code to Sensors extension