If you know where to look you can see exactly where the phone has been, updated every few seconds, including details of local WiFi networks.
The data is collected and harvested by Apple usually without the user's direct knowledge (hidden in the T's and C's)
Any half decent forensic tool can extract the info and display it on google maps
Tap Settings/privacy(no really)/location services/(scroll down to bottom)system services/(scroll down to before product improvement)frequent locations /scroll down to history. All recent locations are there.
Gives last month or so. But needs hands on access. Settings are on by default.
Nothing to hide me.
There is a CSV file, only accessible on the local filesystem with much more than that. In effect, every iPhone 3S and older is a WiFi pineapple. A fact which helps me justify to any over enthusiastic copper using a real one purposefully at home:
Mr Plod: You have a WiFi pineapple?
Me: Yes
Mr Plod: Do you know that it is illegal?
Me: It isn't.
Mr Plod: According to the Communications Act...blah blah blah
Me: Do you own an iPhone?
Mr Plod: Yes
Me: in which case you are breaking the law too
IIRC, the file keeps several months worth of data until it gets too big and then it overwrites itself