Trail-Location is a project mainly written in OBJECTIVE-C and C, it's free.
Tried to work around the closed nature of iPhone with a more extensible wrapper library, but really needed jailbreak to go anywhere interesting (New BSD license)
404: Not Found