A data file publicized by security researchers last week doesn't store users' locations, but a list of Wi-Fi hotspots and cell towers in their general area, the company said. It promised software fixes to address concerns over that file.
The data, downloaded from Apple, help the phone figure out its location without having to listen for faint signals from GPS satellites. That means navigation applications can present the phone's location faster and more accurately, Apple said.
Apple said the data are stored for up to a year because of a software error. The company said there's no need to store data for more than seven days, and a software update in the next few weeks will limit the amount of data in that file.
The iPhone will also stop backing up the file to the user's computer, a practice that raised some concerns.
Computers are much more vulnerable to remote hacking attempts than are phones.
A third planned fix is to stop downloading the data to phones that have all "Location Services" turned off, Apple said, and to encrypt the file on those where it's on.
"Users are confused, partly because creators of this new technology (including Apple) have not provided enough education about these issues to date," Apple said in its statement.