Tracking objects in real time on iOS devices