trying to log iphone sensor