PathLogger is a GPS logging application for iOS plattform. It records your traveled path into its database where you can view it within the application(also while recording a new path). It supports background location modes for recording while in the background (be aware of the battery drain).
It is prodly made with:
 (https://itunes.apple.com/us/app/pathlogger/id980068173 "AppStore")