Well, the Telegraph's version is definitely one of the more badly-written takes on this non-story I've seen so far.
The iPhone has always done this - the only difference in iOS4 is where the file is stored, which was changed to allow third-party apps to access the Location Services APIs while running in the background. Oh, and it changed from a property list file to a SQLite file. Note: third-party apps don't have access to the database itself, only to the APIs the database exists to support. Also, you the user always have absolute control over which apps can use your location data. Furthermore, Apple imposes very strict requirements on how such data is used; in particular, third-party apps that try to send this data off your device without it being necessary to support explicit functionality (e.g. looking up a restaurant near you) will be banned from the app store.
The existence of this file and the full details of its contents has long since been described at conferences, is detailed in a paper published by the IEEE, and is explained in a book published last year.
To make it crystal clear: Apple is not tracking people's location. If you have a location-aware Apple device then it logs this data as it is used to support location-awareness. The data is not sent to Apple. It gets backed up to your computer when you sync your phone because, well, backing up data to your computer is the main reason for syncing your phone.
I modified the app the two "discoverers" provide, which currently only shows data relating to which cell phone towers you are near, to also show the supposedly more-precise wifi location data. Even then, looking at the entire dataset from my phone for the last year, there wasn't a single datapoint nearer than thirty yards to my flat, where the phone has spent the majority of its time. Nor were there any datapoints that would allow anybody to work out which pub I drink in, nor any that would allow one to determine what client offices I have worked in. FYI, the database doesn't include any data from the GPS system, which is needed to get highly accurate location data.
I might get around to using the vague data to triangulate positions, but the app as posted doesn't do that. I've exported the data to XML, so I can use XSLT to convert it to KML and show it on Google Maps. In fact, I'm thinking of putting that facility online as a free service.
Oh, and FWIW, it also shows me as having supposedly been in places I've never visited, or even been within fifty miles of. Even better, I managed to get to and from those places at greater than the speed of light, if the timestamps are anything to go by.
More info, sadly lacking in scaremongering but replete with facts:
https://alexlevinson.wordpress.com/...es-with-the-latest-iphone-tracking-discovery/