Vclaw
2
There already are a number of different OpenStreetMap apps for the iPhone. Have a look at the lists on this page: http://wiki.openstreetmap.org/wiki/Apple_iOS
I think most of them are just for viewing OSM based maps, but some have the option of recording tracks as well. Plus there’s a few that have (basic) map editing options.